diff options
author | Ermal <eri@pfsense.org> | 2011-04-28 19:29:10 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-04-28 19:29:10 +0000 |
commit | d1ae97052d38bfea122dceb7bf339b2ce7569e51 (patch) | |
tree | 0f4c3c4031d936d59a8df492dcd078f078c1d0d2 /etc | |
parent | 40b0c024db5e820614ee1c7999524089125b655e (diff) | |
download | pfsense-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')
-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 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") { |