From 4657c27b8874b51cf90645ed71150d9400d65832 Mon Sep 17 00:00:00 2001 From: shubing guo Date: Sat, 11 Aug 2018 14:34:31 +0800 Subject: VPP-1386: fix wrong ip address of hash key for creating user in unknown protocol Change-Id: I6239e930a8805207f8e42d15e8b17d444047e3f3 Signed-off-by: shubing guo --- 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 d30830812d8..d5fad807570 100755 --- a/src/plugins/nat/out2in.c +++ b/src/plugins/nat/out2in.c @@ -1972,7 +1972,7 @@ nat44_ed_out2in_unknown_proto (snat_main_t *sm, new_addr = ip->dst_address.as_u32 = m->local_addr.as_u32; - u = nat_user_get_or_create (sm, &ip->src_address, m->fib_index, + u = nat_user_get_or_create (sm, &m->local_addr, m->fib_index, thread_index); if (!u) { -- cgit 1.2.3-korg