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:
Pawel Jakub Dawidek 2006-01-24 15:16:55 +00:00
parent 76098314b0
commit 219d40fbb1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=154772

View File

@ -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"
}