From e036d020d7e9ac9e55640ff3eb4507da02f76b9d Mon Sep 17 00:00:00 2001
From: lijianpeng
Date: Sun, 28 Apr 2019 13:18:35 +0800
Subject: NAT66:assgin a error value for clib_bihash_kv_48_8_t kv
Change-Id: Iac0c8218abc8d144d93a955e948a48a732b63107
Signed-off-by: lijianpeng
---
src/plugins/nat/nat_reass.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/plugins/nat/nat_reass.c b/src/plugins/nat/nat_reass.c
index d7f9d58fc86..673acfa1d5a 100755
--- a/src/plugins/nat/nat_reass.c
+++ b/src/plugins/nat/nat_reass.c
@@ -546,8 +546,9 @@ nat_ip6_reass_find_or_create (ip6_address_t src, ip6_address_t dst,
kv.key[0] = k.as_u64[0];
kv.key[1] = k.as_u64[1];
kv.key[2] = k.as_u64[2];
- kv.key[3] = k.as_u64[4];
- kv.key[4] = k.as_u64[5];
+ kv.key[3] = k.as_u64[3];
+ kv.key[4] = k.as_u64[4];
+ kv.key[5] = k.as_u64[5];
if (clib_bihash_add_del_48_8 (&srm->ip6_reass_hash, &kv, 0))
{
reass = 0;
--
cgit 1.2.3-korg