diff options
author | Ermal <eri@pfsense.org> | 2011-03-07 22:45:22 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-07 22:45:22 +0000 |
commit | 6b5e978b67ab12c124de352298553e7dcbbb9cfe (patch) | |
tree | 79ecbb9fa2c4cf98ad892524a2c6f288726077a3 /etc/inc/vpn.inc | |
parent | 06d30ce7db3a859687efdadd0263f0dfab0b32a3 (diff) | |
download | pfsense-6b5e978b67ab12c124de352298553e7dcbbb9cfe.zip pfsense-6b5e978b67ab12c124de352298553e7dcbbb9cfe.tar.gz |
Use racoonctl now that ipsec-0.8 is back to reload the config.
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 0e21224..6f48820 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -886,9 +886,7 @@ EOD; /* mange racoon process */ if (is_process_running("racoon")) { sleep("0.1"); - /* XXX: This seems to not work in ipsec-tools 0.7.3 but a HUP signal is equivalent. */ - //mwexec("/usr/local/sbin/racoonctl -s /var/db/racoon/racoon.sock reload-config", false); - sigkillbypid("{$g['varrun_path']}/racoon.pid", "HUP"); + mwexec("/usr/local/sbin/racoonctl -s /var/db/racoon/racoon.sock reload-config", false); /* load SPD without flushing to be safe on config additions or changes. */ mwexec("/usr/local/sbin/setkey -f {$g['varetc_path']}/spd.conf", false); } else { |