]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: Re-work zebra_nhg_*_valid APIs
authorStephen Worley <sworley@cumulusnetworks.com>
Wed, 23 Oct 2019 20:49:07 +0000 (16:49 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:44 +0000 (11:13 -0400)
commit80286aa564601dda7430ea8c96b2f9fd9867ee0b
tree9c1d52399d778a0da056658a1706a2be22ea48b7
parente1292378e242735f25a4073119ca2da897100fc8
zebra: Re-work zebra_nhg_*_valid APIs

Re-work the validity setting and checking APIs
for nhg_hash_entry's to make them clearer.

Further, they were originally only beings set
on ifdown and install. Extended their use into
releasing entries and to account for setting
the validity of a recursive dependent.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/interface.c
zebra/zebra_nhg.c
zebra/zebra_nhg.h