Add key.pad=0 within vnet_nsh_vxlan_gpe_add_del_tunnel

Change-Id: Ieed704ed0c3d747afc9836671f2ea9cc396ee09d
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
This commit is contained in:
Hongjun Ni
2016-04-06 17:18:39 -07:00
committed by Gerrit Code Review
parent e1ed8bddb4
commit 08fa373d2b

View File

@ -241,6 +241,7 @@ int vnet_nsh_vxlan_gpe_add_del_tunnel
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);
key.pad = 0;
p = hash_get_mem (ngm->nsh_vxlan_gpe_tunnel_by_key, &key);