]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Stop overriding nexthop when BGP unnumberred
authorRyoga Saito <ryoga.saito@linecorp.com>
Sun, 4 Dec 2022 14:51:45 +0000 (23:51 +0900)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 19 Dec 2022 21:29:48 +0000 (21:29 +0000)
commit07a809a704d9ff5a4500a938f57874278698e443
treeb52ea6f1e115367dfef02f0624868f97e2049763
parentaa0c54afbca317d6d04da199dd637ce97aaac9cc
bgpd: Stop overriding nexthop when BGP unnumberred

When we use vrf-to-vrf export, the nexthop has already not been
overridden when the peer is BGP unnumberred. However, when we use normal
export, the nexthop will be oberridden. This behavior will make the VPN
routes invalid in VPN RIB.

This PR stops overriding nexthop even if we use normal export.

Signed-off-by: Ryoga Saito <ryoga.saito@linecorp.com>
(cherry picked from commit f784007d677ee20e4dbd20366928652be2a0b23c)
bgpd/bgp_mplsvpn.c