diff options
author | shubing guo <guo.shubing@zte.com.cn> | 2018-08-11 14:34:31 +0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-08-16 13:40:46 +0000 |
commit | 4657c27b8874b51cf90645ed71150d9400d65832 (patch) | |
tree | 21c1cf72b96fdded21ce8d582d448686970ca99a /src/plugins | |
parent | 452378a544ddee62f5a27c054b9d0978b1f5b6d9 (diff) |
VPP-1386: fix wrong ip address of hash key for creating user in unknown protocol
Change-Id: I6239e930a8805207f8e42d15e8b17d444047e3f3
Signed-off-by: shubing guo <guo.shubing@zte.com.cn>
Diffstat (limited to 'src/plugins')
-rwxr-xr-x | 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 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) { |