diff options
author | Christian Franke <chris@opensourcerouting.org> | 2013-05-25 14:01:36 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2013-08-06 12:41:46 +0200 |
commit | a12afd5e8e57c95505d4d0166af234c7f19e9fe1 (patch) | |
tree | 62f3d6a2d92ce06d857fd90240a8a8806ff38951 /zebra | |
parent | bb97e4622ed6f48e2b8e07f1f94edd03162223a1 (diff) |
bgpd, zebra: support NEXTHOP_IPV4_IFINDEX in bgp import check
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra')
-rw-r--r-- | zebra/zserv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index f792c838..11829378 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -627,6 +627,10 @@ zsend_ipv4_import_lookup (struct zserv *client, struct prefix_ipv4 *p) case ZEBRA_NEXTHOP_IPV4: stream_put_in_addr (s, &nexthop->gate.ipv4); break; + case ZEBRA_NEXTHOP_IPV4_IFINDEX: + stream_put_in_addr (s, &nexthop->gate.ipv4); + stream_putl (s, nexthop->ifindex); + break; case ZEBRA_NEXTHOP_IFINDEX: case ZEBRA_NEXTHOP_IFNAME: stream_putl (s, nexthop->ifindex); |