]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: set ifindex only v6 nexthops and nexthops that match peer's LL 14234/head
authorPooja Jagadeesh Doijode <pdoijode@nvidia.com>
Fri, 18 Aug 2023 17:02:09 +0000 (10:02 -0700)
committerPooja Jagadeesh Doijode <pdoijode@nvidia.com>
Mon, 21 Aug 2023 23:45:09 +0000 (16:45 -0700)
commit4777c8376a118629e4916059a8b4f86aa519db6c
tree0832d7754201780f3b20fbbee4ed7c557b0ea3e1
parentd50812edb0d0d2a61fbce0447aadb03552d2ef1c
bgpd: set ifindex only v6 nexthops and nexthops that match peer's LL

For v4 nexthops, ifindex was being set. Modified the check to set
ifindex only for v6 nexthops. Also modified the check to set ifindex
only if the v6 nexthop matches peer's LL address.

Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
bgpd/bgp_nht.c
tests/topotests/bgp_blackhole_community/r4/bgpd.conf
tests/topotests/bgp_blackhole_community/test_bgp_blackhole_community.py
tests/topotests/bgp_vpn_5549_route_map/test_bgp_vpn_5549_route_map.py