From 6337ab720b0e7b86481c65f05ee63fbb5ebf6448 Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Thu, 28 Apr 2016 15:07:47 -0700 Subject: Fix decap-next for ethernet format in nsh-vxlan-gpe Change-Id: I9f5efef4c2b821e4c7d76ed6e2c4f52c2495e512 Signed-off-by: Hongjun Ni --- vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vnet') 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: -- cgit 1.2.3-korg