]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: upon if event, evaluate bnc with matching nexthop 13509/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 11 May 2023 15:11:14 +0000 (17:11 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 26 May 2023 06:35:46 +0000 (08:35 +0200)
commit4f725062a40909a8accf9df43a553c28be0babfa
tree2b3abe92bd66ecd4751eb4d4996631fa60f2e5d7
parent713831fa7fb37c0948f1ca1f9026f67d1289d732
bgpd: upon if event, evaluate bnc with matching nexthop

In BGP, when an interface event is detected or triggered,
the BNC that have a next-hop that matches the interface
are not evaluated.

The paths attached to the bnc context are evaluated in the
following situation:
- In the up event case, if at least one next-hop interface
matched the event interface.
- In the down event case, if there is no alternate next-hop
that does not use the event interface.

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