]> git.ipfire.org Git - thirdparty/bird.git/commit
BFD: Improve handling of AdminDown
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 29 Aug 2023 16:23:29 +0000 (18:23 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 29 Aug 2023 16:23:29 +0000 (18:23 +0200)
commitaa70e14c9e4cfeb70d2dc9cee497c40057dc105e
tree6866edc910b7f449ca01cbbebfb6783e628d18d6
parentf5140d1027f514bc59d46ab8aa09181f5870afbd
BFD: Improve handling of AdminDown

According to RFC 5882, system should not interpret the local or remote
session state transition to AdminDown as failure. We followed that for
the local session state but not for the remote session state (which
just triggered a transition of the local state to Down). The patch
fixes that.

We do not properly generate AdminDown on our side, so the patch is
relevant just for interoperability with other systems.

Thanks to Sunnat Samadov for the bugreport.
proto/bfd/bfd.c