]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: upon if event, evaluate bnc with matching nexthop
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 11 May 2023 15:11:14 +0000 (17:11 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 13 Jul 2023 10:05:15 +0000 (12:05 +0200)
commit58592be57783a3b24e7351af2a5afc61299768df
tree9d2e62cd4365eb05d4719941171a523e39c6a27f
parent1b34877af6f1f0b2f922a62ad60c933e7a1683c3
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