mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Don't forget to set filter pointers in struct proto when reconfiguring.
This commit is contained in:
@@ -231,6 +231,8 @@ protos_commit(struct config *new, struct config *old, int force_reconfig)
|
|||||||
PD(p, "Reconfigured");
|
PD(p, "Reconfigured");
|
||||||
p->cf = nc;
|
p->cf = nc;
|
||||||
p->name = nc->name;
|
p->name = nc->name;
|
||||||
|
p->in_filter = nc->in_filter;
|
||||||
|
p->out_filter = nc->out_filter;
|
||||||
nc->proto = p;
|
nc->proto = p;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user