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 8dc75c0cc3)
This commit is contained in:
Neale Ranns
2019-12-10 01:08:19 +00:00
committed by Andrew Yourtchenko
parent 339cad4aaf
commit f7b581260f

View File

@ -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;