summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorlijianpeng <li.jianpeng@zte.com.cn>2019-04-28 13:18:35 +0800
committerOle Trøan <otroan@employees.org>2019-05-06 07:23:07 +0000
commite036d020d7e9ac9e55640ff3eb4507da02f76b9d (patch)
treeb5a14ad4043de401e67ead175851c308a2600c95 /src/plugins
parent04bb642dcf1056f8c8d69df39663f117bf018c97 (diff)
NAT66:assgin a error value for clib_bihash_kv_48_8_t kv
Change-Id: Iac0c8218abc8d144d93a955e948a48a732b63107 Signed-off-by: lijianpeng <li.jianpeng@zte.com.cn>
Diffstat (limited to 'src/plugins')
-rwxr-xr-xsrc/plugins/nat/nat_reass.c5
1 files 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;