]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix do not use api.backup_nexthop in ZAPI message
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 20 Jun 2024 16:02:26 +0000 (18:02 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 20 Jun 2024 16:19:43 +0000 (18:19 +0200)
commitd4390fc21795b09b84a6b95b1f8fa1ac2b3dcda9
tree7a40e3732fb314142bf091c7443202eefcea9fa9
parent34a6e223fb2a1ad479aa36d997850924baa137a9
bgpd: fix do not use api.backup_nexthop in ZAPI message

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")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_zebra.c