commit | 23f5f7c3dd805b7d6a46d86d23aaa5c71273a84a | [log] [tgz] |
---|---|---|
author | Christian Franke <chris@opensourcerouting.org> | Wed Nov 27 17:06:14 2013 +0000 |
committer | Vincent JARDIN <vincent.jardin@6wind.com> | Mon Feb 10 22:38:00 2014 +0100 |
tree | 9e512404ad6146e17ee689c16e1509e692d9101c | |
parent | a25a1264a5615a90e9ca9f60ccc1f397ca55bc56 [diff] |
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>
diff --git a/zebra/zserv.c b/zebra/zserv.c index 5df521b..55ac6e4 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c
@@ -879,6 +879,7 @@ 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: