diff options
author | Filip Varga <fivarga@cisco.com> | 2020-06-03 15:26:41 +0200 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2020-06-04 10:10:51 +0000 |
commit | 4496243cc9c9f5a64483923e1f158cab74aca18a (patch) | |
tree | e0234ce5d704da74cb55f84e13c42771cfe6b137 /src/plugins/nat/out2in.c | |
parent | 17a8ab6857f023bc1436d84808acc58dd614203e (diff) |
nat: fixed input validation
Ticket: VPP-1887
Type: fix
Change-Id: I341ac7b455926a106d736f4de6771aae655db82e
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/out2in.c')
-rw-r--r-- | src/plugins/nat/out2in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/out2in.c b/src/plugins/nat/out2in.c index 94679fb402c..44f7dcf34f6 100644 --- a/src/plugins/nat/out2in.c +++ b/src/plugins/nat/out2in.c @@ -280,7 +280,7 @@ static_always_inline { key0.protocol = NAT_PROTOCOL_ICMP; key0.addr = ip0->dst_address; - key0.port = vnet_buffer (b)->ip.reass.l4_src_port; // TODO should this be dst port? + key0.port = vnet_buffer (b)->ip.reass.l4_src_port; } else { |