diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2020-05-13 17:42:55 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2020-09-28 12:40:59 -0400 |
| commit | ac5d1091dcb62484bf432e80023fa55239fc0d84 (patch) | |
| tree | fa4c889a4aaab0abd55afb02a554a7ddd482a707 /lib/zclient.c | |
| parent | 25645bd6017802cbcb628718a928599c42f72c72 (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
