summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Burns (alagalah) <alagalah@gmail.com>2016-02-01 14:14:43 -0800
committerKeith Burns (alagalah) <alagalah@gmail.com>2016-02-01 14:14:43 -0800
commita2f0d74c433a2c63354a390e7e26d496a78aeb75 (patch)
tree64fa136fc7e43f91425796d1713322fc708a6683
parent7a224a0075a4d46e35c2507b893bcba7c866a9b2 (diff)
Changed key of NSH VXLAN tunnel.
- simple patch before extending CLI for next encap tunnel lookup Change-Id: I56060185599252a1ae83cc162963b5fd5bc1b324 Signed-off-by: Keith Burns (alagalah) <alagalah@gmail.com>
-rw-r--r--vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c2
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 8cc46d3d3eb..e0661d26f3f 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->dst.as_u32; /* decap src in key is encap dst in config */
+ key.src = a->src.as_u32;
key.vni = clib_host_to_net_u32 (a->vni << 8);
key.spi_si = clib_host_to_net_u32(a->spi_si);