summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-11-16 14:11:47 -0600
committerChris Buechler <cmb@pfsense.org>2014-11-16 14:11:47 -0600
commit11fb4543474490d6c2eed6f521d46c20cc82987d (patch)
tree89b1d7aa922cea62bbcd4746c278f94f2a5eb223 /etc/inc/gwlb.inc
parentbac174443fcf761269aa5e53e2f9ef10ef8686ec (diff)
downloadpfsense-11fb4543474490d6c2eed6f521d46c20cc82987d.zip
pfsense-11fb4543474490d6c2eed6f521d46c20cc82987d.tar.gz
show tunnelv4 on v4 the same way tunnelv6 is shown on v6
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 7f06110..8284266 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -561,6 +561,7 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive
$ctype = strtoupper($ifcfg['ipaddr']);
break;
default:
+ $tunnelif = substr($ifcfg['if'], 0, 3);
if (substr($ifcfg['if'], 0, 4) == "ovpn") {
// if current iface is an ovpn server endpoint then skip it
if (substr($ifcfg['if'], 4, 1) == 's')
OpenPOWER on IntegriCloud