arp: check for manually added proxy-arp entries 02/37102/5
authorBenoît Ganne <bganne@cisco.com>
Mon, 12 Sep 2022 13:06:22 +0000 (15:06 +0200)
committerNeale Ranns <neale@graphiant.com>
Tue, 20 Sep 2022 22:34:59 +0000 (22:34 +0000)
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>
src/vnet/arp/arp.c

index ce3eb39..d39d48e 100644 (file)
@@ -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;