summaryrefslogtreecommitdiff
path: root/python/clidef.py
diff options
context:
space:
mode:
authorFredi Raspall <fredi@voltanet.io>2021-05-29 03:22:04 +0200
committerEmanuele Di Pascale <emanuele@voltanet.io>2021-09-28 10:40:32 +0200
commit37a331f8c2ba2ba72bed447fb80ee91a72dae8ec (patch)
treee09a2015d9fea6bb274efd55e25fde8d381ce1f4 /python/clidef.py
parent4e10b4dfba74c0984e1f3f289e8a6c0265cb6914 (diff)
ospfd: fix condition to get label from SRLB
The prior condition was wrong since it ended up allowing for labels past the end of the SRLB. Variable 'current' should be in range [0, size-1] for labels not to exceed the SRLB upper boundary. In addition, emit a warning log when all labels in the SRLB have been used. Signed-off-by: Fredi Raspall <fredi@voltanet.io>
Diffstat (limited to 'python/clidef.py')
0 files changed, 0 insertions, 0 deletions