summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatthew Smith <mgsmith@netgate.com>2019-07-06 19:27:29 -0500
committerNeale Ranns <nranns@cisco.com>2019-07-08 17:46:28 +0000
commit44e60468a2f0ad7ceff67de718fe3c401016ef6d (patch)
tree857fcb9e340fdddd331eca9892dad8688cfe47dd /test
parent2eed1a12b425701d6109c9b55c9c1cac806de724 (diff)
ip: retain local interface address adjacency
Type: feature ip4_local_check_src() was overwriting vnet buffer opaque data on the adjacency for packets with "local" (dpo-receive) destination addresses. Retain the dpo receive index in vnet_buffer()->adj_index[VLIB_TX]. This can allow a graph node to distinguish the interface where the destination address is configured from the interface where the packet was received. This can be useful in correctly handling packets that have been sent to an address configured on a loopback interface. Change-Id: I52a942e85b5302b338a2d0404a37c5ea1a99e89f Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions