summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-04-28 19:29:10 +0000
committerErmal <eri@pfsense.org>2011-04-28 19:29:10 +0000
commitd1ae97052d38bfea122dceb7bf339b2ce7569e51 (patch)
tree0f4c3c4031d936d59a8df492dcd078f078c1d0d2 /etc/inc/interfaces.inc
parent40b0c024db5e820614ee1c7999524089125b655e (diff)
downloadpfsense-d1ae97052d38bfea122dceb7bf339b2ce7569e51.zip
pfsense-d1ae97052d38bfea122dceb7bf339b2ce7569e51.tar.gz
Use the needed variable here so hitting 'Save' from Interface->Configuration section does not leave the assigned gif interfaces without tunnel addresses.
Diffstat (limited to 'etc/inc/interfaces.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 343c320..7e107c6 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2658,7 +2658,7 @@ function interface_configure($interface = "wan", $reloadall = false, $linkupeven
} else if (substr($realif, 0, 3) == "gif") {
if (is_array($config['gifs']['gif'])) {
foreach ($config['gifs']['gif'] as $gif)
- if($gif['gifif'] == $interface)
+ if($gif['gifif'] == $realif)
interface_gif_configure($gif);
}
} else if (substr($realif, 0, 4) == "ovpn") {
OpenPOWER on IntegriCloud