mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
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
@ -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 New Issue
Block a user