summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-16 11:24:00 +0000
committerErmal <eri@pfsense.org>2010-06-16 11:24:00 +0000
commit096ee9c22de0afd71a17518bcb112807e46fe49a (patch)
treeba7534932f37f3cc6eddde2f15cf51e767db580c /etc/inc/gwlb.inc
parenta138f4fbc077f89ff413355ba738e00d36317973 (diff)
downloadpfsense-096ee9c22de0afd71a17518bcb112807e46fe49a.zip
pfsense-096ee9c22de0afd71a17518bcb112807e46fe49a.tar.gz
Make some non functional changes, mostly to keep up with latest gw changes. Related to Ticket #666
Diffstat (limited to 'etc/inc/gwlb.inc')
-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 6b3be9f..268d94c 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -480,7 +480,7 @@ function lookup_gateway_monitor_ip_by_name($name) {
$gateway['monitor'] = "127.0.0.2";
$monitorip = $gateway['monitor'];
- if($monitorip == "")
+ if(!is_ipaddr($monitorip))
$monitorip = $gateway['gateway'];
return ($monitorip);
OpenPOWER on IntegriCloud