diff options
author | 2016-11-25 00:03:46 +0800 | |
---|---|---|
committer | 2016-12-02 14:16:02 +0000 | |
commit | beb4bf7df82658e556a20891cfa04ce375ddb435 (patch) | |
tree | 7e04260a644c06beb0bc52d9bb587f8baa46182b /vpp | |
parent | dce0545441cec7242f3eacc8b163c521395f4c3e (diff) |
Augment Vxlan to support NSH-Proxy
PatchSet 9: add range check for decap_next_index
PatchSet 6: delete runtime range check
Change-Id: I415e156d05d09d2ff34f6578924f0b243058f464
Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
Diffstat (limited to 'vpp')
-rw-r--r-- | vpp/vpp-api/api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vpp/vpp-api/api.c b/vpp/vpp-api/api.c index a011c650..c110769b 100644 --- a/vpp/vpp-api/api.c +++ b/vpp/vpp-api/api.c @@ -4545,8 +4545,7 @@ static void send_vxlan_tunnel_details } rmp->mcast_sw_if_index = htonl (t->mcast_sw_if_index); rmp->vni = htonl (t->vni); - /* decap_next_index is deprecated, hard code to l2-input */ - rmp->decap_next_index = htonl (VXLAN_INPUT_NEXT_L2_INPUT); + rmp->decap_next_index = htonl (t->decap_next_index); rmp->sw_if_index = htonl (t->sw_if_index); rmp->is_ipv6 = is_ipv6; rmp->context = context; |