From: Christian Franke Date: Wed, 27 Nov 2013 17:06:14 +0000 (+0000) Subject: zebra: match gateway when deleting NEXTHOP_IPV4_IFINDEX routes X-Git-Tag: frr-2.0-rc1~1631 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=23f5f7c3dd805b7d6a46d86d23aaa5c71273a84a;p=mirror%2Ffrr.git zebra: match gateway when deleting NEXTHOP_IPV4_IFINDEX routes Signed-off-by: Christian Franke Acked-by: Feng Lu --- diff --git a/zebra/zserv.c b/zebra/zserv.c index 5df521b0dd..55ac6e4fb0 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: