summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-04-22 09:32:35 +0000
committerErmal <eri@pfsense.org>2014-04-22 09:32:35 +0000
commit635f9eb560bd227982c3be289fb2b138e7f83b3d (patch)
tree198db554a7cbdbfda5c6fb1654a93c96ac9c4021 /etc
parent1147bd002ad8ac8d1cdf83460c3369348dbcd727 (diff)
parent2700ef9631ba9b19a9521e348f213568d0c220f8 (diff)
downloadpfsense-635f9eb560bd227982c3be289fb2b138e7f83b3d.zip
pfsense-635f9eb560bd227982c3be289fb2b138e7f83b3d.tar.gz
Merge pull request #1116 from PiBa-NL/interface_has_gateway-ipv4_gif_gre
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index e067289..76b8dac 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -4963,6 +4963,9 @@ function interface_has_gateway($friendly) {
default:
if (substr($ifname['if'], 0, 4) == "ovpn")
return true;
+ $tunnelif = substr($ifname['if'], 0, 3);
+ if ($tunnelif == "gif" || $tunnelif == "gre")
+ return true;
if (!empty($ifname['gateway']))
return true;
break;
OpenPOWER on IntegriCloud