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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index d603c60d..5b2a5e71 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -71,7 +71,7 @@ int
kernel_rtm_ipv4 (int cmd, struct prefix *p, struct rib *rib, int family)
{
- struct sockaddr_in *mask;
+ struct sockaddr_in *mask = NULL;
struct sockaddr_in sin_dest, sin_mask, sin_gate;
struct nexthop *nexthop;
int nexthop_num = 0;