summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-11 14:56:24 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-11 14:56:24 -0300
commitf01c3b5973e96502b787d282cc508a95f3a40d38 (patch)
treec54baac30643eee904ef84104844c49110df8dda /etc/inc
parentdaa169f75654027aaf4e12550b93b682f2b3473c (diff)
downloadpfsense-f01c3b5973e96502b787d282cc508a95f3a40d38.zip
pfsense-f01c3b5973e96502b787d282cc508a95f3a40d38.tar.gz
Fix #3702, make sure tunnel inside IP is set when interface changes
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index d234982..9115308 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2945,7 +2945,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
}
/* Need to check that the interface exists or not in the case where its coming back from disabled state see #3270 */
- if (!does_interface_exist($interface_to_check))
+ if (in_array(substr($realif, 0, 3), array("gre", "gif")) || !does_interface_exist($interface_to_check))
interface_virtual_create($interface_to_check);
/* Disable Accepting router advertisements unless specifically requested */
OpenPOWER on IntegriCloud