From: Hongjun Ni Date: Sun, 12 Jun 2016 10:45:25 +0000 (+0800) Subject: Fix next-protocol issue configured from Honeycomb X-Git-Tag: v16.09-rc1~306 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=51e332ab83169e4c3b6874ae1c7149fe869becfc;p=vpp.git Fix next-protocol issue configured from Honeycomb PatchSet 2: rebuild. Change-Id: I18ee050629129871b44271f92a1e63b661d55c05 Signed-off-by: Hongjun Ni --- diff --git a/vpp/api/api.c b/vpp/api/api.c index 75e98fb2c26..95301f4c26c 100644 --- a/vpp/api/api.c +++ b/vpp/api/api.c @@ -4557,7 +4557,7 @@ vl_api_vxlan_gpe_add_del_tunnel_t_handler } encap_fib_index = p[0]; - protocol = ntohl(mp->protocol); + protocol = mp->protocol; /* Interpret decap_vrf_id as an opaque if sending to other-than-ip4-input */ if (protocol == VXLAN_GPE_INPUT_NEXT_IP4_INPUT) {