diff options
author | Neale Ranns <nranns@cisco.com> | 2019-12-10 01:08:19 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-12 07:43:14 +0000 |
commit | f7b581260fd4fb301ad1a9c9142b38d25face912 (patch) | |
tree | d56d2fc5a56f2fa676c1c1ec43bcc09330a32346 | |
parent | 339cad4aaf5c1aa7b0ab35af33e5e1cfe18c2a94 (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)
-rw-r--r-- | src/vnet/ipsec/ipsec_cli.c | 1 |
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; |