Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
VPP-1110 BVI reply ARP that doesn't request BVI loacl IP.
[vpp.git]
/
src
/
vnet
/
ethernet
/
arp.c
diff --git
a/src/vnet/ethernet/arp.c
b/src/vnet/ethernet/arp.c
index
f46e6f5
..
149f0a5
100644
(file)
--- a/
src/vnet/ethernet/arp.c
+++ b/
src/vnet/ethernet/arp.c
@@
-1123,6
+1123,12
@@
arp_input (vlib_main_t * vm, vlib_node_runtime_t * node, vlib_frame_t * frame)
&arp0->ip4_over_ethernet[0]);
goto drop1;
}
+ else if (arp0->opcode ==
+ clib_host_to_net_u16 (ETHERNET_ARP_OPCODE_request) &&
+ (dst_is_local0 == 0))
+ {
+ goto drop1;
+ }
send_reply:
/* Send a reply.