Fixes a bug related to protocol enabling and reconfigure.
When a protocol was enabled interactively (but disabled in the config file), then reconfigure in some cases forgets to disable it.
This commit is contained in:
parent
ae85e28cf4
commit
23fd464447
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ proto_reconfigure(struct proto *p, struct proto_config *oc, struct proto_config
|
|||
|
||||
/* If there is a too big change in core attributes, ... */
|
||||
if ((nc->protocol != oc->protocol) ||
|
||||
(nc->disabled != oc->disabled) ||
|
||||
(nc->disabled != p->disabled) ||
|
||||
(nc->table->table != oc->table->table) ||
|
||||
(proto_get_router_id(nc) != proto_get_router_id(oc)))
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue