ipsec: Honour the renumber argument when selecting show instnace

Type: fix

Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: If41f154c354772f5b32cfd35ea231b8f59c2c0c5
diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c
index a959ac6..6784f0b 100644
--- a/src/vnet/ipsec/ipsec_api.c
+++ b/src/vnet/ipsec/ipsec_api.c
@@ -789,7 +789,7 @@
       // 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);