Don't forget to set filter pointers in struct proto when reconfiguring.
This commit is contained in:
parent
99f70c78e1
commit
41b26cfb55
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue