diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-03-14 03:02:58 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-03-14 03:02:58 +0100 |
commit | 218111c88a04b36b57a26ca4a2602141c198c119 (patch) | |
tree | c1dc664273cbe32f4cb97c43c1b701c95fd88ed6 /etc/inc/gwlb.inc | |
parent | 0ae397e293b8377adda0338357d3e950dfdca56e (diff) | |
download | pfsense-218111c88a04b36b57a26ca4a2602141c198c119.zip pfsense-218111c88a04b36b57a26ca4a2602141c198c119.tar.gz |
Also show for through gateway we are adding the new monitor.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
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']}"); } } } |