summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2009-03-14 03:02:58 +0100
committerSeth Mos <seth.mos@xs4all.nl>2009-03-14 03:02:58 +0100
commit218111c88a04b36b57a26ca4a2602141c198c119 (patch)
treec1dc664273cbe32f4cb97c43c1b701c95fd88ed6 /etc
parent0ae397e293b8377adda0338357d3e950dfdca56e (diff)
downloadpfsense-218111c88a04b36b57a26ca4a2602141c198c119.zip
pfsense-218111c88a04b36b57a26ca4a2602141c198c119.tar.gz
Also show for through gateway we are adding the new monitor.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index d5ab7ee..63777e0 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -160,11 +160,11 @@ EOD;
* route as this will break the routing table */
continue;
} else {
- log_error("Removing static route for monitor {$gateway['monitor']}");
mwexec("/sbin/route delete -host " . escapeshellarg($gateway['monitor']));
if(! stristr("127.0.0", $gateway['gateway'])) {
mwexec("/sbin/route add -host " . escapeshellarg($gateway['monitor']) .
" " . escapeshellarg($gateway['gateway']));
+ log_error("Removing static route for monitor {$gateway['monitor']} and adding a new route through {$gateway['gateway']}");
}
}
}
OpenPOWER on IntegriCloud