summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-10 01:08:19 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-12 07:43:14 +0000
commitf7b581260fd4fb301ad1a9c9142b38d25face912 (patch)
treed56d2fc5a56f2fa676c1c1ec43bcc09330a32346 /src
parent339cad4aaf5c1aa7b0ab35af33e5e1cfe18c2a94 (diff)
ipsec: Init salt value in SA creation CLI (so it's not random)
Type: fix Change-Id: Idf4d0b59a1eb2c739a67a4786470884050f81561 Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit 8dc75c0cc3ac0db13778a0a32f9aa81597b80556)
Diffstat (limited to 'src')
-rw-r--r--src/vnet/ipsec/ipsec_cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/ipsec/ipsec_cli.c b/src/vnet/ipsec/ipsec_cli.c
index 1bff6086741..a8a74cfd757 100644
--- a/src/vnet/ipsec/ipsec_cli.c
+++ b/src/vnet/ipsec/ipsec_cli.c
@@ -88,6 +88,7 @@ ipsec_sa_add_del_command_fn (vlib_main_t * vm,
u32 id, spi, salt;
int is_add, rv;
+ salt = 0;
error = NULL;
is_add = 0;
flags = IPSEC_SA_FLAG_NONE;