summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-28 13:49:44 +0000
committerErmal <eri@pfsense.org>2014-02-28 13:49:44 +0000
commitc32a6b82a708149a66c1e477ddc0ba1c54d70440 (patch)
tree35a40a54b45d2401e91eb15b29664bb67bcf7d89 /etc/inc/gwlb.inc
parent920dbb26b19773ae1ef96992ee26ae31293d029e (diff)
downloadpfsense-c32a6b82a708149a66c1e477ddc0ba1c54d70440.zip
pfsense-c32a6b82a708149a66c1e477ddc0ba1c54d70440.tar.gz
Fixes #3484. Provide a dynamic gateway for gif v6 tunnels so it can be used on firewall rules etc. The guide for setting up this tunnels on docs need to change to leave the gif interface as none type. People upgrading need to fix this themselves with a not on release notes. This can be fixed if the kernel condition is relaxed to allow setting the prefixlen on the tunnel as ipv4
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 27271d7..c90dd05 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -598,6 +598,8 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive
default:
if (substr($ifcfg['if'], 0, 4) == "ovpn")
$ctype = "VPNv6";
+ if (substr($ifcfg['if'], 0, 3) == "gif")
+ $ctype = "TUNNELv6";
break;
}
$ctype = "_". strtoupper($ctype);
OpenPOWER on IntegriCloud