diff options
author | Neale Ranns <nranns@cisco.com> | 2019-04-10 12:39:10 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-10 17:00:35 +0000 |
commit | 4f33c80c5de96fccc15a91135099ee437f75f252 (patch) | |
tree | 5f1764c4cf2e98a8b34161d117606ff134e72f24 /src/vnet | |
parent | bee9768bd41d52d80d8ee3a03a2b1c236da080b0 (diff) |
IPSEC: for each engine and algorithm tests
refactor the IPSEC tests a bit so we can parameterise
the setup.
Change-Id: I777e5eb8f29ca1dce3dd273ebd05dae5846790af
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/ipsec/ipsec_sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_sa.c b/src/vnet/ipsec/ipsec_sa.c index af37b2e49cc..da12560bb7d 100644 --- a/src/vnet/ipsec/ipsec_sa.c +++ b/src/vnet/ipsec/ipsec_sa.c @@ -268,7 +268,7 @@ ipsec_sa_del (u32 id) hash_unset (im->sa_index_by_sa_id, sa->id); err = ipsec_call_add_del_callbacks (im, sa, sa_index, 0); if (err) - return VNET_API_ERROR_SYSCALL_ERROR_1; + return VNET_API_ERROR_SYSCALL_ERROR_2; if (ipsec_sa_is_set_IS_TUNNEL (sa) && !ipsec_sa_is_set_IS_INBOUND (sa)) { |