GRE tunnel key should use fib_index instead of fib_id (VPP-1118) 23/10023/2
authorJohn Lo <loj@cisco.com>
Tue, 9 Jan 2018 04:19:18 +0000 (23:19 -0500)
committerNeale Ranns <nranns@cisco.com>
Tue, 9 Jan 2018 16:56:19 +0000 (16:56 +0000)
commit20e63bcdf8dafded5624f3377b5a5ce15c697a63
tree67942e14c49068a48e1ba10793f4409df52aeea0
parentf068c3ed296c49dfbfe17677fc1ad2428fb4e3e4
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