aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-04-28 15:07:47 -0700
committerDave Barach <openvpp@barachs.net>2016-04-29 12:37:46 +0000
commit6337ab720b0e7b86481c65f05ee63fbb5ebf6448 (patch)
treeef545203f83392754e75f3e5a6ca767895036551
parent1aed76feede0c05cbd2a9b2bc8ef4e1625f0568b (diff)
Fix decap-next for ethernet format in nsh-vxlan-gpe
Change-Id: I9f5efef4c2b821e4c7d76ed6e2c4f52c2495e512 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
-rw-r--r--vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c2
1 files changed, 2 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 3aab224a208..d96ba57b1cf 100644
--- a/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c
+++ b/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c
@@ -28,6 +28,8 @@ static u8 * format_decap_next (u8 * s, va_list * args)
return format (s, "ip4");
case NSH_VXLAN_GPE_INPUT_NEXT_IP6_INPUT:
return format (s, "ip6");
+ case NSH_VXLAN_GPE_INPUT_NEXT_ETHERNET_INPUT:
+ return format (s, "ethernet");
case NSH_VXLAN_GPE_INPUT_NEXT_NSH_VXLAN_GPE_ENCAP:
return format (s, "nsh-vxlan-gpe");
default: