summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-07-06 15:22:37 +0200
committerSeth Mos <seth.mos@xs4all.nl>2009-07-06 15:22:37 +0200
commit70bf5abed1761476947dd7dc4cccf8e092222e26 (patch)
tree1a300522bd76a4ebb456852da444bfb5e146137f /etc
parent4ecc60ec647b38dff87a7ffb42451e853d55dd9b (diff)
downloadpfsense-70bf5abed1761476947dd7dc4cccf8e092222e26.zip
pfsense-70bf5abed1761476947dd7dc4cccf8e092222e26.tar.gz
Correct variable names so that the logging is useful.
Remove racoon reload signal
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index a2dbe42..d2a5d28 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -823,7 +823,6 @@ EOD;
/* mange racoon process */
if (is_process_running("racoon")) {
sleep("0.1");
- log_error("IPSEC: Sent a reload signal to the IPsec process");
mwexec("/usr/local/sbin/racoonctl -s /var/run/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);
@@ -1652,7 +1651,7 @@ function reload_tunnel_spd_policy($phase1, $phase2, $old_phase1, $old_phase2) {
"{$phase2['protocol']}/tunnel/{$rgip}-" .
"{$ep}/unique;\n";
- log_error("Reloading IPsec tunnel '{$tunnel['descr']}'. Previous IP '{$oldgw}', current IP '{$rgip}'. Reloading policy");
+ log_error("Reloading IPsec tunnel '{$phase1['descr']}'. Previous IP '{$old_gw}', current IP '{$rgip}'. Reloading policy");
$now = time();
$spdfile = tempnam("{$g['tmp_path']}", "spd.conf.reload.{$now}.");
OpenPOWER on IntegriCloud