summaryrefslogtreecommitdiff
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-05-13 17:42:55 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2020-09-28 12:40:59 -0400
commitac5d1091dcb62484bf432e80023fa55239fc0d84 (patch)
treefa4c889a4aaab0abd55afb02a554a7ddd482a707 /lib/zclient.c
parent25645bd6017802cbcb628718a928599c42f72c72 (diff)
zebra: make NHG ID allocation smarter
Make NHG ID allocation smarter so it wraps once it hits the lower bound for protos and performs a lookup to make sure we don't already have that ID in use. Its pretty unlikely we would wrap since the ID space is somewhere around 24million for Zebra at this point in time. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.c')
0 files changed, 0 insertions, 0 deletions