diff options
author | Neale Ranns <neale@graphiant.com> | 2022-02-17 15:41:32 +0000 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2022-03-04 16:25:00 +0000 |
commit | f478f758b9fc13089a4ff47fa1e66d7d1db9f003 (patch) | |
tree | fa9941f247208fe6e085ee17e336ae49d2c5e377 /src/vlibmemory/memory_shared.h | |
parent | 5c6dd17a373a2c56e57f02426d66a79af7faa19c (diff) |
ping: correct the fib-index used for the reply
Type: fix
if original packet was to the link local, then the
fib index in the buffer is that of the LL table, we can't use that
to foward the response if the new destination
is global, so reset to the fib index of the link.
In other case, the fib index we need has been written
to the buffer already.
Add a test for IPv6 ping in an MPLS-VPN where int inout interface is
not the the same VRF as the response should be sent.
Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I18a232d90ddd3ef051a52476c5d861c87060e76f
Diffstat (limited to 'src/vlibmemory/memory_shared.h')
0 files changed, 0 insertions, 0 deletions