From 51e332ab83169e4c3b6874ae1c7149fe869becfc Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Sun, 12 Jun 2016 18:45:25 +0800 Subject: Fix next-protocol issue configured from Honeycomb PatchSet 2: rebuild. Change-Id: I18ee050629129871b44271f92a1e63b661d55c05 Signed-off-by: Hongjun Ni --- vpp/api/api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.2.3-korg