summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 23beeaebb7..5ce1ddfd49 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";