]> git.puffer.fish Git - matthieu/frr.git/commit
lib: remove enabled flag for bfd sessions
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 22 Apr 2021 12:24:49 +0000 (15:24 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 22 Apr 2021 13:39:29 +0000 (16:39 +0300)
commite82acdce22d271d7b51a2ecb69e3353dc848f4b0
tree2048d42b19952560d2ba7e45966c9faa4a7addcd
parent97444b25addeaa0288a2368d32c2789c4f5fe8f1
lib: remove enabled flag for bfd sessions

Currently this flag is only helpful in an extremely rare situation when
the BFD session registration was unsuccessful and after that zebra is
restarted. Let's remove this flag to simplify the API. If we ever want
to solve the problem of unsuccessful registration/deregistration, this
can be done using internal flags, without API modification.

Also add the error log to help user understand why the BFD session is
not working.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_bfd.c
lib/bfd.c
lib/bfd.h
ospfd/ospf_bfd.c