diff options
author | Ermal <eri@pfsense.org> | 2010-06-16 11:24:00 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-06-16 11:24:00 +0000 |
commit | 096ee9c22de0afd71a17518bcb112807e46fe49a (patch) | |
tree | ba7534932f37f3cc6eddde2f15cf51e767db580c /etc | |
parent | a138f4fbc077f89ff413355ba738e00d36317973 (diff) | |
download | pfsense-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')
-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 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); |