diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-04-19 15:35:14 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2016-04-25 13:19:04 +0000 |
commit | 2acdb58d92291297b3f30a797a7054f0136f50ef (patch) | |
tree | 692733db925654068b9e993164b2da55aa9bb315 /vnet | |
parent | 577c3553dd6939e998c78c5a389750aac3a67f8b (diff) |
Change ethernet's result within unformat_decap_next
Change-Id: Ib3f9d1a03930842063ebfbfcfeefca533a678416
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'vnet')
-rw-r--r-- | vnet/vnet/nsh-vxlan-gpe/nsh_vxlan_gpe.c | 2 |
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)) |