diff options
author | Matthew Smith <mgsmith@netgate.com> | 2021-10-11 14:10:15 -0500 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2021-11-16 15:43:45 +0000 |
commit | 895a0a1fed9f678dfc9345653d75515b61eeae52 (patch) | |
tree | 4222a9c3ecd817fb52567c4e7c95fb2cb18d4ddf /src/vppinfra/vector | |
parent | 48797d204fc3c767267c5abc72bdec126d1cff64 (diff) |
ip6: set local flag on outbound echo reply
Type: fix
When VPP generates an ICMP echo reply in response to an incoming
echo request to a local address, set VNET_BUFFER_F_LOCALLY_ORIGINATED
on the buffer. It will prevent ip6-rewrite from decrementing the hop
limit.
Outbound IPv4 echo replies also get this flag set.
Change-Id: Iaa229294eb158edb58cf1bf1b7a90da281321406
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
(cherry picked from commit af50b4f727f6d9d85c722c39b459941e01a34217)
Diffstat (limited to 'src/vppinfra/vector')
0 files changed, 0 insertions, 0 deletions