aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSwarup Nayak <swarupnpvt@gmail.com>2017-12-13 13:02:22 +0530
committerSwarup Nayak <swarupnpvt@gmail.com>2017-12-13 13:05:05 +0530
commit284f705322dd3900991d703a02ab0afe592a3b00 (patch)
tree5d932203d5a1f3464eb24327660309c028ed7999
parent6f8273aec1fa3f3d597b090871cc7ac301d7e014 (diff)
VPP-1099 Fix create vxlan-gpe tunnel local 10::1 remote 20::1 vni 11 (for ipv6)
Change-Id: I3255cd1be4ae4ec8d09574183c96f59028374a5e Signed-off-by: Swarup Nayak <swarupnpvt@gmail.com>
-rw-r--r--src/vnet/vxlan-gpe/vxlan_gpe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/vxlan-gpe/vxlan_gpe.c b/src/vnet/vxlan-gpe/vxlan_gpe.c
index 939b5fafd7d..a95062b53f0 100644
--- a/src/vnet/vxlan-gpe/vxlan_gpe.c
+++ b/src/vnet/vxlan-gpe/vxlan_gpe.c
@@ -1269,6 +1269,7 @@ vxlan_gpe_init (vlib_main_t * vm)
ngm->mcast_shared = hash_create_mem (0,
sizeof (ip46_address_t),
sizeof (mcast_shared_t));
+ ngm->vtep6 = hash_create_mem (0, sizeof (ip6_address_t), sizeof (uword));
udp_register_dst_port (vm, UDP_DST_PORT_VXLAN_GPE,
vxlan4_gpe_input_node.index, 1 /* is_ip4 */ );