diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-19 01:34:22 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-12-19 15:42:45 +0100 |
commit | c2519893e0240d06c90bc7efa825875d69bdf148 (patch) | |
tree | 2f36171caf8abf878433cffc9981b3700a5d278d /zebra/rt_socket.c | |
parent | zebra: Convert gate in kernel_rtm to a bool (diff) | |
download | frr-c2519893e0240d06c90bc7efa825875d69bdf148.tar.xz frr-c2519893e0240d06c90bc7efa825875d69bdf148.zip |
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>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r-- | zebra/rt_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c index 23beeaebb..5ce1ddfd4 100644 --- a/zebra/rt_socket.c +++ b/zebra/rt_socket.c @@ -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"; |