]> git.puffer.fish Git - mirror/frr.git/commit
zebra: dont update counter if outside of zebra ID range
authorStephen Worley <sworley@cumulusnetworks.com>
Sun, 10 May 2020 21:34:35 +0000 (17:34 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit16b20ad0628ee98537c79ae7e018303ad1de8aca
treeef0aeeacd25865162ad4a5de42812b2e66605158
parent2c41ef8c1798540c5639f6a2508e72c861d3bede
zebra: dont update counter if outside of zebra ID range

When we receive a NHG from the kernel, we set the ID counter
to that to avoid using IDs owned from the kernel.

If we get one outside of zebra's range, lets not update it
since its probably one we created and never deleted anyway.

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