mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +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))
|
!CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_ACTIVE))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
smplsp = NULL;
|
||||||
gate = false;
|
gate = false;
|
||||||
char gate_buf[INET_ADDRSTRLEN] = "NULL";
|
char gate_buf[INET_ADDRSTRLEN] = "NULL";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user