summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-03-03 13:26:36 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-03-03 13:31:29 -0300
commit246950c38fc3faaeb68c4740d0b7c761f2fc1f8d (patch)
tree5b000d5fffa0c7e317d7b94b78cf8e9d6a50ec50 /etc
parentd557438a87435cfb0d350e78ef4c3de421efa4c5 (diff)
downloadpfsense-246950c38fc3faaeb68c4740d0b7c761f2fc1f8d.zip
pfsense-246950c38fc3faaeb68c4740d0b7c761f2fc1f8d.tar.gz
Fix typo on var name
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 0a81a23..e924a31 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -553,7 +553,7 @@ function return_gateways_array($disabled = false, $localhost = false) {
$ctype = strtoupper($ifcfg['ipaddrv6']);
break;
default:
- $tunnelif = substr($ifname['if'], 0, 3);
+ $tunnelif = substr($ifcfg['if'], 0, 3);
if (substr($ifcfg['if'], 0, 4) == "ovpn")
$ctype = "VPNv6";
else if ($tunnelif == "gif" || $tunnelif == "gre")
OpenPOWER on IntegriCloud