diff options
author | John Lo <loj@cisco.com> | 2018-06-07 16:46:24 +0000 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-06-07 18:44:02 +0000 |
commit | 535939c38104ec0d3a504e1d1f9ba57b141bb4c5 (patch) | |
tree | 2c51d0baf841dc652096dd27559f090a8cfc1a7d | |
parent | 041881b11a979d680b916fbfff04f8c664f8b0b0 (diff) |
Revert "Allow arp-input node to learn IPv4 neighbors from GARP packets"
This reverts commit d018870d1b02109fc8b328446f15312fdd2fcd11.
Change-Id: I700ade7a25ae5ed72cfed586e50b02492a4f11de
Signed-off-by: John Lo <loj@cisco.com>
-rw-r--r-- | src/vnet/ethernet/arp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vnet/ethernet/arp.c b/src/vnet/ethernet/arp.c index 203f6f7f01a..682bc2a2c92 100644 --- a/src/vnet/ethernet/arp.c +++ b/src/vnet/ethernet/arp.c @@ -1163,11 +1163,6 @@ arp_input (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame) clib_host_to_net_u16 (ETHERNET_ARP_OPCODE_request) && (dst_is_local0 == 0)) { - /* learn from GARP packet */ - if (arp0->ip4_over_ethernet[0].ip4.as_u32 == - arp0->ip4_over_ethernet[1].ip4.as_u32) - error0 = arp_learn (vnm, am, sw_if_index0, - &arp0->ip4_over_ethernet[0]); goto drop1; } |