]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_zebra.c
bgpd: Let's actually track if the nh was updated
authorDonald Sharp <sharpd@nvidia.com>
Fri, 4 Dec 2020 13:01:31 +0000 (08:01 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 4 Dec 2020 13:01:31 +0000 (08:01 -0500)
commit06f16b2c253ff9d71db498e3a93a0d620434496c
treed7bf04a544fb82cdb073c6d60bdb46813b455d0e
parent057edd2e84a6536615b4c80c67d83024ef8f3234
bgpd: Let's actually track if the nh was updated

In bgp_zebra_announce when iterating over multipath
we were checking to ensure that the nexthop was updated
but never initially clearing the nh_updated variable.
Thus leading to a situation where we could crash.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_zebra.c