summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-09-30 19:20:07 +0700
committergnhb <gnoahb@gmail.com>2010-09-30 19:20:07 +0700
commit9fd19334bf105ae1ad5604d4fea8cad48d3be293 (patch)
tree58e3bb66038370803eae3d80797e9a735b34547a /etc
parent5b3f9124df1c7c2d242d5dbad36a610836d0e3ec (diff)
downloadpfsense-9fd19334bf105ae1ad5604d4fea8cad48d3be293.zip
pfsense-9fd19334bf105ae1ad5604d4fea8cad48d3be293.tar.gz
Don't refer to non-existent variable.
Reported in forum http://forum.pfsense.org/index.php/topic,28643.0.html
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 ab72831..4a5b306 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -478,7 +478,7 @@ function lookup_gateway_monitor_ip_by_name($name) {
if(!is_ipaddr($gateway['monitor']))
return $gateway['gateway'];
- return ($monitorip);
+ return $gateway['monitor'];
}
return (false);
OpenPOWER on IntegriCloud