summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-09-13 07:02:36 +0200
committersmos <seth.mos@dds.nl>2012-09-13 07:02:36 +0200
commit1be0e2da021703526f1c2a1ee2f29f424d5c6bf9 (patch)
treefb2450673091a8caddcd6d9d49e653dcb593e7bc /etc
parentc832f6bf7cd9bdba9e20df52289f1b0a1173a12d (diff)
downloadpfsense-1be0e2da021703526f1c2a1ee2f29f424d5c6bf9.zip
pfsense-1be0e2da021703526f1c2a1ee2f29f424d5c6bf9.tar.gz
Reference the correct variable here, it was broken before and could never have worked.
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 db27797..dd6b8e6 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -860,7 +860,7 @@ function lookup_gateway_interface_by_name($name) {
$gateways_arr = return_gateways_array(false, true);
if (!empty($gateways_arr[$name])) {
- $interfacegw = $gateway['interface'];
+ $interfacegw = $gateways_arr[$name]['interface'];
return ($interfacegw);
}
OpenPOWER on IntegriCloud