diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2017-06-13 10:05:51 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2017-06-13 10:05:51 +0200 |
commit | 063221b5ad2d15afed87ed61f24486eb7690e5ea (patch) | |
tree | 3ab93d122bf10754f4454d494bb0f4405c04a4e8 /zebra/rt_netlink.c | |
parent | Merge pull request #678 (diff) | |
parent | zebra: Fix memory leak (diff) | |
download | frr-063221b5ad2d15afed87ed61f24486eb7690e5ea.tar.xz frr-063221b5ad2d15afed87ed61f24486eb7690e5ea.zip |
Merge pull request #700 "Coverity high"
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/rt_netlink.c')
-rw-r--r-- | zebra/rt_netlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index 9bad7991a..8c2b986a2 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -307,6 +307,8 @@ netlink_route_change_read_unicast (struct sockaddr_nl *snl, struct nlmsghdr *h, p.family = AF_INET; memcpy (&p.u.prefix4, dest, 4); p.prefixlen = rtm->rtm_dst_len; + + src_p.prefixlen = 0; // Forces debug below to not display anything } else if (rtm->rtm_family == AF_INET6) { |