diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-04-06 17:18:39 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-04-07 15:02:56 +0000 |
commit | 08fa373d2bc09482802a3a937de76c5c1ac4588a (patch) | |
tree | a9f031ea65bbe845a9b1a9c81196be094a0cbf18 | |
parent | e1ed8bddb42eba42634e4df097d47ef201417f46 (diff) |
Add key.pad=0 within vnet_nsh_vxlan_gpe_add_del_tunnel
Change-Id: Ieed704ed0c3d747afc9836671f2ea9cc396ee09d
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
-rw-r--r-- | vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c | 1 |
1 files changed, 1 insertions, 0 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..5f49a5310e9 100644 --- a/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c +++ b/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c @@ -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); |