summaryrefslogtreecommitdiff
path: root/lib/filter_nb.c
diff options
context:
space:
mode:
authorJoanne Mikkelson <jmmikkel@arista.com>2021-03-17 15:30:14 -0700
committerJoanne Mikkelson <jmmikkel@arista.com>2021-03-23 08:59:33 -0700
commit1a9cb083b755f20b63c2503e1ee81a2b723661d1 (patch)
treef5d629b40f2bd7c2a35b2bd3a8f585214f06d547 /lib/filter_nb.c
parentee88563ac2ead5ca51200e611d0c4b0ef1b70554 (diff)
bgpd: Allow next hop recursion in zebra if any multipath is not eBGP
When "bgp bestpath peer-type multipath-relax" is enabled, multipaths with both eBGP and iBGP learned routes may exist. It is not desirable for the iBGP next hops to be discarded from the FIB because they are not directly connected. When publishing a nexthop group to zebra, the ZEBRA_FLAG_ALLOW_RECURSION flag is normally not set when the best path is eBGP; when "bgp bestpath aspath multipath-relax" is configured, the flag will now be set if any paths are from iBGP peers. This leaves all-eBGP multipaths still requiring nexthops over connected routes. Signed-off-by: Joanne Mikkelson <jmmikkel@arista.com>
Diffstat (limited to 'lib/filter_nb.c')
0 files changed, 0 insertions, 0 deletions