summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-10-05 16:12:20 +0700
committergnhb <gnoahb@gmail.com>2010-10-05 16:12:20 +0700
commit8d3556c2212ad51892a5a4eea4511b92ce12b225 (patch)
tree710208f745abd8aef5358d386a15719666bbdd51 /etc
parentdc9975f4e75bd345c93530825878ee3044d36533 (diff)
downloadpfsense-8d3556c2212ad51892a5a4eea4511b92ce12b225.zip
pfsense-8d3556c2212ad51892a5a4eea4511b92ce12b225.tar.gz
Add $g variable to global declaration so we can access it later.
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 d8056c5..4a37016 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -267,7 +267,7 @@ function return_gateways_status($byname = false) {
/* Return all configured gateways on the system */
function return_gateways_array($disabled = false) {
- global $config;
+ global $config, $g;
$gateways_arr = array();
OpenPOWER on IntegriCloud