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/in2out.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/in2out.c')
-rw-r--r-- | src/plugins/nat/in2out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/in2out.c b/src/plugins/nat/in2out.c index 8616d90ad2b..0c52e50119d 100644 --- a/src/plugins/nat/in2out.c +++ b/src/plugins/nat/in2out.c @@ -417,7 +417,7 @@ static_always_inline { key0.protocol = NAT_PROTOCOL_ICMP; key0.addr = ip0->src_address; - key0.port = vnet_buffer (b)->ip.reass.l4_src_port; // TODO fixme should this be dst port? + key0.port = vnet_buffer (b)->ip.reass.l4_src_port; } else { |