summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-12-10 01:08:19 +0000
committerDamjan Marion <dmarion@me.com>2019-12-10 21:24:57 +0000
commit8dc75c0cc3ac0db13778a0a32f9aa81597b80556 (patch)
tree3fd5424937ac50dfd78cafe7ebaffbdfba5c34ad /src/vnet
parent05d7312ebe35f66db920b465a70a34fed089a458 (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>
Diffstat (limited to 'src/vnet')
-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 b304458d565..e4121605fdc 100644
--- a/src/vnet/ipsec/ipsec_cli.c
+++ b/src/vnet/ipsec/ipsec_cli.c
@@ -89,6 +89,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;