From 1dabaafcebb02699cae1ebd2b58e34dfe6b0f064 Mon Sep 17 00:00:00 2001 From: Pierre Pfister Date: Mon, 25 Apr 2016 14:15:15 +0100 Subject: Port glean neighbor entry support to IPv6 This patch is more or less a port of I71f3ba0c8192 to IPv6. In practice it allows creating a route via a neighbor which is not resolved yet. It also adds static flag to IPv6 neighbor entries. And as Damjan suggested, it formalizes ip46_address_t by using the IPv4 embedded IPv6 address format. Change-Id: Ifa7328a03380ea4ff118b7ca4897b4ab23a3e57c Signed-off-by: Pierre Pfister --- vpp/api/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vpp/api/api.c') diff --git a/vpp/api/api.c b/vpp/api/api.c index ea766938..829a70fd 100644 --- a/vpp/api/api.c +++ b/vpp/api/api.c @@ -2213,7 +2213,7 @@ vl_api_ip_neighbor_add_del_t_handler (vl_api_ip_neighbor_add_del_t *mp, vlib_mai rv = vnet_set_ip6_ethernet_neighbor (vm, ntohl(mp->sw_if_index), (ip6_address_t *)(mp->dst_address), - mp->mac_address, sizeof (mp->mac_address)); + mp->mac_address, sizeof (mp->mac_address), mp->is_static); else rv = vnet_unset_ip6_ethernet_neighbor (vm, ntohl(mp->sw_if_index), -- cgit 1.2.3-korg