]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix 'nexthop_set failed' error message often displayed
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 12 Sep 2024 14:11:52 +0000 (16:11 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 12 Sep 2024 14:14:27 +0000 (16:14 +0200)
commit37702ca0802df6f8c7d2f2a81f85ca9cf6bdfdf4
treebeb02624cf2a74d6e0619aa1bec4ea3c4ee2db9a
parent2b4a262c4512515e2138c04cca6d434afe1115dd
 bgpd: fix 'nexthop_set failed' error message often displayed

The 'nexthop_set failed, resetting connection - intf' log message
is often seen when peering with BGP peers. This message has been
displayed by introducing a recent fix that extracts the IP/port
information of outgoing connections when peering is not yet
established.

Fix this by separating the update of the socket information from
the call to bgp_zebra_nexthop_set().

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_fsm.c
bgpd/bgp_network.c
bgpd/bgp_network.h