Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
l2: skip arp term for locally originated packets
[vpp.git]
/
src
/
vnet
/
ip-neighbor
/
ip4_neighbor.h
diff --git
a/src/vnet/ip-neighbor/ip4_neighbor.h
b/src/vnet/ip-neighbor/ip4_neighbor.h
index
8ace8d1
..
7941ebd
100644
(file)
--- a/
src/vnet/ip-neighbor/ip4_neighbor.h
+++ b/
src/vnet/ip-neighbor/ip4_neighbor.h
@@
-61,6
+61,7
@@
ip4_neighbor_probe (vlib_main_t *vm, vnet_main_t *vnm,
h0->ip4_over_ethernet[1].ip4 = *dst;
vnet_buffer (b0)->sw_if_index[VLIB_TX] = adj0->rewrite_header.sw_if_index;
+ b0->flags |= VNET_BUFFER_F_LOCALLY_ORIGINATED;
vlib_buffer_advance (b0, -adj0->rewrite_header.data_bytes);