ipsec: Honour the renumber argument when selecting show instnace
Type: fix Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: If41f154c354772f5b32cfd35ea231b8f59c2c0c5
This commit is contained in:

committed by
Damjan Marion

parent
0b91bd6c52
commit
a548d134ae
@@ -789,7 +789,7 @@ vl_api_ipsec_tunnel_if_add_del_t_handler (vl_api_ipsec_tunnel_if_add_del_t *
|
||||
// remote = input, local = output
|
||||
/* create an ip-ip tunnel, then the two SA, then bind them */
|
||||
rv = ipip_add_tunnel (transport,
|
||||
ntohl (mp->show_instance),
|
||||
(mp->renumber ? ntohl (mp->show_instance) : ~0),
|
||||
&local_ip,
|
||||
&remote_ip, fib_index, 0, &sw_if_index);
|
||||
|
||||
|
Reference in New Issue
Block a user