summaryrefslogtreecommitdiff
path: root/zebra/zapi_msg.c
diff options
context:
space:
mode:
authorGalaxyGorilla <sascha@netdef.org>2020-02-27 12:57:13 +0000
committerSebastien Merle <sebastien@netdef.org>2020-08-07 11:08:49 +0200
commit7658c2e56053e99cce68d63e754f89c071ac3d37 (patch)
tree3e07ba00b1e9538cb43bab4fadd564292c05e4f6 /zebra/zapi_msg.c
parent598b0dfcc969c048a70b03fcc9b70d44b69fcfd6 (diff)
zebra: Fix selection of label chunks in label manager
For allocating a new label range the label manager will loop the existing label chunks and compare the start and end labels with the label range in question. In case a label range should be re-allocated to the existing label chunk, the end label of the chunk is not honored correctly, e.g. the new label range has to be a true subset of the existing label chunk. This is very easy reproducable by re-allocating a single label. e.g. a label range of size 1. This problem is fixed by allowing the mentioned 'end' labels to be equal. Signed-off-by: GalaxyGorilla <sascha@netdef.org>
Diffstat (limited to 'zebra/zapi_msg.c')
0 files changed, 0 insertions, 0 deletions