From 4496243cc9c9f5a64483923e1f158cab74aca18a Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Wed, 3 Jun 2020 15:26:41 +0200 Subject: nat: fixed input validation Ticket: VPP-1887 Type: fix Change-Id: I341ac7b455926a106d736f4de6771aae655db82e Signed-off-by: Filip Varga --- src/plugins/nat/out2in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/nat/out2in.c') 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 { -- cgit 1.2.3-korg