FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.13k stars 1.21k forks source link

bgpd: fix do not use api.backup_nexthop in ZAPI message #16260

Closed pguibert6WIND closed 3 weeks ago

pguibert6WIND commented 3 weeks ago

The backup_nexthop entry list has been populated by mistake, and should not. Fix this by reverting the introduced behavior.

Fixes: 237ebf8d4503 ("bgpd: rework bgp_zebra_announce() function, separate nexthop handling")

ton31337 commented 3 weeks ago

@Mergifyio backport dev/10.1 stable/10.0

mergify[bot] commented 3 weeks ago

backport dev/10.1 stable/10.0

✅ Backports have been created

* [#16262 bgpd: fix do not use api.backup_nexthop in ZAPI message (backport #16260)](https://github.com/FRRouting/frr/pull/16262) has been created for branch `dev/10.1` * [#16263 bgpd: fix do not use api.backup_nexthop in ZAPI message (backport #16260)](https://github.com/FRRouting/frr/pull/16263) has been created for branch `stable/10.0`