X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fipsec%2Fipsec_api.c;h=6784f0b08f9aee2d8c1d866df711eb4c89bd297c;hb=a548d134ae53c52de17fb02c8c925153cbd0fdf5;hp=a959ac643ec02368e6e78b469f574cb1cbfec2c8;hpb=0b91bd6c52460c3bff9ae7b1c0405d258a016c32;p=vpp.git diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c index a959ac643ec..6784f0b08f9 100644 --- a/src/vnet/ipsec/ipsec_api.c +++ b/src/vnet/ipsec/ipsec_api.c @@ -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);