summaryrefslogtreecommitdiff
path: root/lib/termtable.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-12-03 12:08:12 -0500
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-12-04 08:55:32 +0200
commit86b10095a788d0d6cacd1557a5d7d4758db88903 (patch)
tree8c9b64cb6d7f0e43076eeadd26081bc2d4f67ee0 /lib/termtable.c
parent953fc0c6cb7b757cb24b2f5d7b3d3bd174f91479 (diff)
lib: Fix session re-establishment
Currently if you have this sequence of events: a) BGP starts b) BGP reads cli that has bfd configuration c) BGP attempts to install bfd configuration but fails because zebra is not connected to yet d) BGP connects to zebra e) BGP receives resend bfd code from bfdd f) BGP was not sending down the unsent data to bfd, never causing the bfd session to be established. So effectively bfd was attempting to install but failed and then when it was asked to replay everything it decided that the bfd information for a particular peer was actually installed and does not need to be resent. Modify the code such that the bfd code now tracks failed installation and allows the resend of data to bfdd. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/termtable.c')
0 files changed, 0 insertions, 0 deletions