summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongjun Ni <hongjun.ni@intel.com>2016-06-12 18:45:25 +0800
committerHongjun Ni <hongjun.ni@intel.com>2016-06-12 03:02:32 +0000
commit51e332ab83169e4c3b6874ae1c7149fe869becfc (patch)
treeba1d1414a3919d477281950f566b1de4826c6f30
parentb3ca6589eb58dcb15fdd7939694a4024e63b7ec5 (diff)
Fix next-protocol issue configured from Honeycomb
PatchSet 2: rebuild. Change-Id: I18ee050629129871b44271f92a1e63b661d55c05 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
-rw-r--r--vpp/api/api.c2
1 files changed, 1 insertions, 1 deletions
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) {