mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:06:09 +00:00
zebra: Make label processing guaranteed to be unique
The label processing for socket installs was not ensuring that each nexthop would not accidently use the last nexthops value. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
4dd39a0ec4
commit
c2519893e0
@ -183,6 +183,7 @@ static int kernel_rtm(int cmd, const struct prefix *p,
|
||||
!CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_ACTIVE))
|
||||
continue;
|
||||
|
||||
smplsp = NULL;
|
||||
gate = false;
|
||||
char gate_buf[INET_ADDRSTRLEN] = "NULL";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user