summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2013-11-27 17:06:14 +0000
committerVincent JARDIN <vincent.jardin@6wind.com>2014-02-10 22:38:00 +0100
commit23f5f7c3dd805b7d6a46d86d23aaa5c71273a84a (patch)
tree9e512404ad6146e17ee689c16e1509e692d9101c /zebra
parenta25a1264a5615a90e9ca9f60ccc1f397ca55bc56 (diff)
downloadquagga-23f5f7c3dd805b7d6a46d86d23aaa5c71273a84a.tar.bz2
quagga-23f5f7c3dd805b7d6a46d86d23aaa5c71273a84a.tar.xz
zebra: match gateway when deleting NEXTHOP_IPV4_IFINDEX routes
Signed-off-by: Christian Franke <chris@opensourcerouting.org> Acked-by: Feng Lu <lu.feng@6wind.com>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zserv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c
index 5df521b0..55ac6e4f 100644
--- a/zebra/zserv.c
+++ b/zebra/zserv.c
@@ -879,6 +879,7 @@ zread_ipv4_delete (struct zserv *client, u_short length)
break;
case ZEBRA_NEXTHOP_IPV4_IFINDEX:
nexthop.s_addr = stream_get_ipv4 (s);
+ nexthop_p = &nexthop;
ifindex = stream_getl (s);
break;
case ZEBRA_NEXTHOP_IPV6: