diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-04-06 17:47:08 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-04-07 15:01:36 +0000 |
commit | e1ed8bddb42eba42634e4df097d47ef201417f46 (patch) | |
tree | fbe26cc6cef06da25af8fba1d9754f0795ff15b5 /vnet | |
parent | bcebbb988da4fcbb6158c05050f96ae87cc50156 (diff) |
Change key.src=a->dst.as_u32 within vnet_nsh_vxlan_gpe_add_del_tunnel
Change-Id: Ica062e532d116cc1806d73f2fa85db89402928a4
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c b/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c index e0661d26f3f..8cc46d3d3eb 100644 --- a/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c +++ b/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c @@ -238,7 +238,7 @@ int vnet_nsh_vxlan_gpe_add_del_tunnel nsh_vxlan_gpe_tunnel_key_t key, *key_copy; hash_pair_t *hp; - key.src = a->src.as_u32; + key.src = a->dst.as_u32; /* decap src in key is encap dst in config */ key.vni = clib_host_to_net_u32 (a->vni << 8); key.spi_si = clib_host_to_net_u32(a->spi_si); |