GRE tunnel key should use fib_index instead of fib_id (VPP-1118) 10/10010/1
authorJohn Lo <loj@cisco.com>
Tue, 9 Jan 2018 04:19:18 +0000 (23:19 -0500)
committerJohn Lo <loj@cisco.com>
Tue, 9 Jan 2018 04:19:18 +0000 (23:19 -0500)
commiteeafbef61db693437ff6866974053e0050413255
treeeae146e87e2721bcf5a96478ff1b92dfefdc3ebc
parent43ad007a0ce57ed54864ece41714440cf838f356
GRE tunnel key should use fib_index instead of fib_id (VPP-1118)

Follow up fix - vl_api_gre_add_del_tunnel_t_handler should pass
outer_fib_id from API message to vnet_gre_add_del_tunnel() and
not convert it to fib_index, since vnet_gre_add_del_tunnel()
already perform the lookup to get fib_index from fib_id.

Change-Id: I24967a97f82ce018ddef596e556bd3eb1706cb63
Signed-off-by: John Lo <loj@cisco.com>
src/vnet/gre/gre_api.c