The 'reload' command did the same as 'restart' command.
Allow user to decide if SAD and SPD entries should be flushed on 'reload'. With this change flush/spdflush is not done automatically (it could still be done from ipsec.conf).
This commit is contained in:
parent
0af7bce7e6
commit
7ae11fdb19
@ -61,8 +61,6 @@ ipsec_stop()
|
||||
ipsec_reload()
|
||||
{
|
||||
echo "Reloading ipsec manual keys/policies."
|
||||
${ipsec_program} -F
|
||||
${ipsec_program} -FP
|
||||
${ipsec_program} -f "$ipsec_file"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user