diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-11 14:56:24 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-11 14:56:24 -0300 |
commit | f01c3b5973e96502b787d282cc508a95f3a40d38 (patch) | |
tree | c54baac30643eee904ef84104844c49110df8dda | |
parent | daa169f75654027aaf4e12550b93b682f2b3473c (diff) | |
download | pfsense-f01c3b5973e96502b787d282cc508a95f3a40d38.zip pfsense-f01c3b5973e96502b787d282cc508a95f3a40d38.tar.gz |
Fix #3702, make sure tunnel inside IP is set when interface changes
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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 */ |