diff options
author | Neale Ranns <nranns@cisco.com> | 2018-02-12 08:36:11 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-02-15 14:22:33 +0000 |
commit | 8b30e471df4d42214619e1d6c50cc8298426b45f (patch) | |
tree | fc2421ebfcfdbc7651d16d3de323a69da2393efe /src/vnet/ip/ip6_neighbor.c | |
parent | 07510dd1a812fe064c8d44dd25e6c8a598a709cf (diff) |
Allow interface types to override glean adjacency behaivour
update the glean adj on a local interface MAC change
Change-Id: Ia5c5cde424ed0fea3431532cc5abf22b364bbab5
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ip/ip6_neighbor.c')
-rw-r--r-- | src/vnet/ip/ip6_neighbor.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vnet/ip/ip6_neighbor.c b/src/vnet/ip/ip6_neighbor.c index 82b402ff263..61d29835062 100644 --- a/src/vnet/ip/ip6_neighbor.c +++ b/src/vnet/ip/ip6_neighbor.c @@ -566,8 +566,10 @@ ip6_ethernet_update_adjacency (vnet_main_t * vnm, u32 sw_if_index, u32 ai) switch (adj->lookup_next_index) { - case IP_LOOKUP_NEXT_ARP: case IP_LOOKUP_NEXT_GLEAN: + adj_glean_update_rewrite (ai); + break; + case IP_LOOKUP_NEXT_ARP: if (NULL != nbr) { adj_nbr_walk_nh6 (sw_if_index, &nbr->key.ip6_address, @@ -4268,6 +4270,8 @@ ethernet_ndp_change_mac (u32 sw_if_index) } })); /* *INDENT-ON* */ + + adj_glean_update_rewrite (adj_glean_get (FIB_PROTOCOL_IP6, sw_if_index)); } void |