diff options
author | Ole Trøan <otroan@employees.org> | 2018-02-15 21:56:06 +0000 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-02-15 22:12:03 +0000 |
commit | 438f63094465d35c278155484fe85153e438873e (patch) | |
tree | 06e0ec613a6b2393ef2021f12ea7545fade9fec2 /src/vnet/ethernet | |
parent | 909c26bda66313b86168dda31003f76410c1d746 (diff) |
Revert "Allow interface types to override glean adjacency behaivour"
This reverts commit 8b30e471df4d42214619e1d6c50cc8298426b45f.
Change-Id: I99edb236eb0a7f8ba3fba333c3481a710ebcb59c
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vnet/ethernet')
-rw-r--r-- | src/vnet/ethernet/arp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/vnet/ethernet/arp.c b/src/vnet/ethernet/arp.c index da56c2b64cc..149f0a5dc96 100644 --- a/src/vnet/ethernet/arp.c +++ b/src/vnet/ethernet/arp.c @@ -455,10 +455,8 @@ arp_update_adjacency (vnet_main_t * vnm, u32 sw_if_index, u32 ai) switch (adj->lookup_next_index) { - case IP_LOOKUP_NEXT_GLEAN: - adj_glean_update_rewrite (ai); - break; case IP_LOOKUP_NEXT_ARP: + case IP_LOOKUP_NEXT_GLEAN: if (NULL != e) { adj_nbr_walk_nh4 (sw_if_index, @@ -2489,8 +2487,6 @@ ethernet_arp_change_mac (u32 sw_if_index) change_arp_mac (sw_if_index, e); })); /* *INDENT-ON* */ - - adj_glean_update_rewrite (adj_glean_get (FIB_PROTOCOL_IP4, sw_if_index)); } void |