aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/arp/arp.c
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2022-09-12 15:06:22 +0200
committerNeale Ranns <neale@graphiant.com>2022-09-20 22:34:59 +0000
commit6b4c6e1624ac15e20eeeac385aa8cbee0f142121 (patch)
tree9a0ea02fdb20b8d3f6626bd1327bdc49cb552d31 /src/vnet/arp/arp.c
parent8ffe8f6092e68d39fe94472c369e6735023783f1 (diff)
arp: check for manually added proxy-arp entries
When manually adding neighbor entries for proxy-arp, those will be fib-adj entries. Check for proxy-arp instead of dropping immediately. Type: improvement Change-Id: Id311159f2966c99719dc2a67d4d2bc92bf366029 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vnet/arp/arp.c')
-rw-r--r--src/vnet/arp/arp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/arp/arp.c b/src/vnet/arp/arp.c
index ce3eb399477..d39d48e2c77 100644
--- a/src/vnet/arp/arp.c
+++ b/src/vnet/arp/arp.c
@@ -556,7 +556,7 @@ arp_reply (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame)
error0 =
arp_learn (sw_if_index0, &arp0->ip4_over_ethernet[0]);
}
- goto drop;
+ goto next_feature;
case ARP_DST_FIB_CONN:
/* destination is connected, continue to process */
break;