diff options
author | Hongjun Ni <hongjun.ni@intel.com> | 2016-05-25 17:35:51 +0800 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2016-05-25 17:35:51 +0800 |
commit | aafe40deae9dd3a863805b20aaba3878ed157eec (patch) | |
tree | 37b08d722b4becd5bac5e05fdf7e6f740394e2f5 | |
parent | 205c75c8dbb81e8629d514a9d407a9f82d0c90e7 (diff) |
VPP-89: Fix an issue in format_vxlan_gpe_tunnel
Change-Id: Ie81e2eb918e441ddaa9e7ab57e8bb0129f0f4f8f
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
-rw-r--r-- | vnet/vnet/vxlan-gpe/vxlan_gpe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vnet/vnet/vxlan-gpe/vxlan_gpe.c b/vnet/vnet/vxlan-gpe/vxlan_gpe.c index bee6e7c9243..fdf1548bcce 100644 --- a/vnet/vnet/vxlan-gpe/vxlan_gpe.c +++ b/vnet/vnet/vxlan-gpe/vxlan_gpe.c @@ -30,12 +30,16 @@ u8 * format_vxlan_gpe_tunnel (u8 * s, va_list * args) { case VXLAN_GPE_PROTOCOL_IP4: s = format (s, "next-protocol ip4"); + break; case VXLAN_GPE_PROTOCOL_IP6: s = format (s, "next-protocol ip6"); + break; case VXLAN_GPE_PROTOCOL_ETHERNET: s = format (s, "next-protocol ethernet"); + break; case VXLAN_GPE_PROTOCOL_NSH: s = format (s, "next-protocol nsh"); + break; default: s = format (s, "next-protocol unknown %d", t->protocol); } |