aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2017-08-30 00:55:59 +0800
committerHongjun Ni <hongjun.ni@intel.com>2017-08-29 21:24:56 +0000
commita894434e30149338f2aa36773cf80ec1cf15a34f (patch)
treee7b57d8f1e20d353f7de88e28e5f618f6e4b2e5e /src/plugins/nat
parent2bd3f8a525d5767ddcc19342167f78ad3c7d5997 (diff)
Fix static mapping lookup issue for NAT plugin
Change-Id: Ic99d1db5360f69126b23bb2b78f29d6404cbbae9 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'src/plugins/nat')
-rw-r--r--src/plugins/nat/in2out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/in2out.c b/src/plugins/nat/in2out.c
index 62a11170..bb186393 100644
--- a/src/plugins/nat/in2out.c
+++ b/src/plugins/nat/in2out.c
@@ -3340,6 +3340,7 @@ snat_in2out_fast_static_map_fn (vlib_main_t * vm,
}
key0.addr = ip0->src_address;
+ key0.protocol = proto0;
key0.port = udp0->src_port;
key0.fib_index = rx_fib_index0;