]> git.proxmox.com Git - mirror_frr.git/commit
ldpd: fix broken label allocation frr-3.0-rc2
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 12 Sep 2017 12:46:31 +0000 (09:46 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 13 Sep 2017 21:58:50 +0000 (18:58 -0300)
commit2d67d5a2b57ae19a526e267258c71649e5e86d29
tree907034ffd4e4b823f958c62ed974a21d852d7ff1
parent7e9e78293ba77586ad59b74551ed55c3251267c9
ldpd: fix broken label allocation

Once ldpd allocated label 48 for a given FEC, all subsequent requests
for a new label would return the same value (48). The problem is that
we were left shifting an uint32_t value up to 64 times, losing important
information.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ldpd/lde.c