diff options
author | Matthew Smith <mgsmith@netgate.com> | 2021-10-11 14:10:15 -0500 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-10-21 15:08:03 +0000 |
commit | af50b4f727f6d9d85c722c39b459941e01a34217 (patch) | |
tree | 361c0c73482728a820412d38eeb9822e81ff7848 /src/vnet/ip/ip4.h | |
parent | 1dff6b3485ffac976d3b49b5daaf7ad687d103f8 (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>
Diffstat (limited to 'src/vnet/ip/ip4.h')
0 files changed, 0 insertions, 0 deletions