]> git.proxmox.com Git - mirror_frr.git/commit - zebra/interface.h
zebra: clear protodown_rc on shutdown and sweep
authorStephen Worley <sworley@nvidia.com>
Tue, 25 Jan 2022 18:49:05 +0000 (13:49 -0500)
committerStephen Worley <sworley@nvidia.com>
Wed, 9 Mar 2022 23:02:42 +0000 (18:02 -0500)
commit0dcd8506f2dac65bcac06f79a1660d809b329340
tree29efc49d7c035f863e37459bf206c1960fef8b31
parent71ef5cbb9563e09a76996448a7f34cec37ed3c15
zebra: clear protodown_rc on shutdown and sweep

Add functionality to clear any reason code set on shutdown
of zebra when we are freeing the interface, in case a bad
client didn't tell us to clear it when the shutdown.

Also, in case of a crash or failure to do the above, clear reason
on startup if it is set.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
zebra/if_netlink.c
zebra/interface.c
zebra/interface.h
zebra/zebra_router.h