summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c b/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c
index 0d246841248..3aab224a208 100644
--- a/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c
+++ b/vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c
@@ -351,7 +351,7 @@ static uword unformat_decap_next (unformat_input_t * input, va_list * args)
else if (unformat (input, "ip6"))
*result = NSH_VXLAN_GPE_INPUT_NEXT_IP6_INPUT;
else if (unformat (input, "ethernet"))
- *result = NSH_VXLAN_GPE_INPUT_NEXT_IP6_INPUT;
+ *result = NSH_VXLAN_GPE_INPUT_NEXT_ETHERNET_INPUT;
else if (unformat (input, "nsh-vxlan-gpe"))
*result = NSH_VXLAN_GPE_INPUT_NEXT_NSH_VXLAN_GPE_ENCAP;
else if (unformat (input, "%d", &tmp))