summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-05-31 15:55:09 -0400
committerChris Buechler <cmb@pfsense.org>2009-05-31 15:55:09 -0400
commitb04eb23bff28644937149e03a926eade412f70b7 (patch)
treeeaaae6aa3d49a8cf694a12389e9ca8499825f974 /etc/inc
parenta6d821bcada68aded1e1b0d4bb373db1703adb29 (diff)
downloadpfsense-b04eb23bff28644937149e03a926eade412f70b7.zip
pfsense-b04eb23bff28644937149e03a926eade412f70b7.tar.gz
clarify log message
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/vpn.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 0d38c10..e6ec6a7 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -803,9 +803,7 @@ EOD;
}
}
}
- }
- else
- {
+ } else {
if(stristr($route_str, "/{$rgip}/")) {
mwexec("/sbin/route delete -host {$rgip}");
}
@@ -1666,7 +1664,7 @@ function reload_tunnel_spd_policy($phase1, $phase2, $old_phase1, $old_phase2) {
"{$phase2['protocol']}/tunnel/{$rgip}-" .
"{$ep}/unique;\n";
- log_error("IPSEC: Tunnel '{$phase1['descr']}' has changed IP from '{$old_gw}' to '{$rgip}', reloading policy");
+ log_error("Reloading IPsec tunnel '{$tunnel['descr']}'. Previous IP '{$oldgw}', current IP '{$rgip}'. Reloading policy");
$now = time();
$spdfile = tempnam("{$g['tmp_path']}", "spd.conf.reload.{$now}.");
OpenPOWER on IntegriCloud