diff options
author | 2016-04-25 11:15:53 -0700 | |
---|---|---|
committer | 2016-04-26 12:32:04 +0000 | |
commit | 0371807f7b1213ee474f8850dc85ae5dd0a24532 (patch) | |
tree | 69f81ae0480ca1de2aab5f829d5e1f4e000cc0ca /vnet | |
parent | fed985c898a0c6383a95bcf57db38bbd14041326 (diff) |
Fix decap's second-loop failure issue within nsh-vxlan-gpe
Change-Id: I7c5c93b6490baa05b9b203b6d065d9c31f36d531
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/nsh-vxlan-gpe/decap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vnet/vnet/nsh-vxlan-gpe/decap.c b/vnet/vnet/nsh-vxlan-gpe/decap.c index a5a85c60..76003e60 100644 --- a/vnet/vnet/nsh-vxlan-gpe/decap.c +++ b/vnet/vnet/nsh-vxlan-gpe/decap.c @@ -288,9 +288,9 @@ nsh_vxlan_gpe_input (vlib_main_t * vm, nsh_vxlan_gpe_tunnel_t * next_t1; nsh_vxlan_gpe_tunnel_key_t next_key1; - next_key1.src = iuvn0->ip4.dst_address.as_u32; - next_key1.vni = iuvn0->vxlan.vni_res; - next_key1.spi_si = iuvn0->nsh.spi_si; + next_key1.src = iuvn1->ip4.dst_address.as_u32; + next_key1.vni = iuvn1->vxlan.vni_res; + next_key1.spi_si = iuvn1->nsh.spi_si; next_key1.pad = 0; next_p1 = hash_get_mem (ngm->nsh_vxlan_gpe_tunnel_by_key, &next_key1); |