]> git.ipfire.org Git - thirdparty/bird.git/commit
Nest: Forbid adding channels during reconfiguration
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 11 Dec 2018 16:57:14 +0000 (17:57 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 11 Dec 2018 16:57:14 +0000 (17:57 +0100)
commitd506263da713673f95bc17aaedceebaaad03580d
tree12ce1ee337d6c8c92f9f6030e1dcfffae6060cf2
parentbaeacdcfd3ce30b3fa89ebdd4e53c60c38c26c31
Nest: Forbid adding channels during reconfiguration

When a new channel is found during reconfiguration, do force restart
of the protocol, like with any other un-reconfigurable change.

The old behavior was that the new channel was added but remained in down
state, even if the protocol was up, so a manual protocol restart was
often necessary.

In the future this should be improved such that a reconfigurable
channel addition (e.g. direct) is accepted and channel is started,
while an un-reconfigurable addition forces protocol restart.
nest/proto.c
proto/bgp/bgp.c