rather than SRC/DST address error which is not so helpfull
Type: fix
Fixes:
af3f0783
Change-Id: Ie2143e4e29de87d93e79bd96284c041bdbffd98e
Signed-off-by: Neale Ranns <nranns@cisco.com>
&args->local_ip, &t->input_sa_index);
if (rv)
- return VNET_API_ERROR_INVALID_SRC_ADDRESS;
+ return rv;
ipsec_mk_key (&crypto_key,
args->local_crypto_key, args->local_crypto_key_len);
&args->remote_ip, &t->output_sa_index);
if (rv)
- return VNET_API_ERROR_INVALID_DST_ADDRESS;
+ return rv;
/* copy the key */
if (is_ip6)