summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2014-03-06 00:50:05 -0600
committerChris Buechler <cmb@pfsense.org>2014-03-06 00:51:20 -0600
commitda2ec3361e9ab78d08bcc088b2f7c4e348847c3e (patch)
treef1c4806c5468a2bb3d13971a5819b9921cee3e88 /etc
parentebe2b407b330ef3ad32600c36da9752d162e3681 (diff)
downloadpfsense-da2ec3361e9ab78d08bcc088b2f7c4e348847c3e.zip
pfsense-da2ec3361e9ab78d08bcc088b2f7c4e348847c3e.tar.gz
bring up appropriate interface for GRE/GIF. Ticket #3281
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index cfbbfb6..4fc05b9 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -891,7 +891,7 @@ function interface_gre_configure(&$gre, $grekey = "") {
if(is_ipaddrv6($gre['tunnel-remote-addr']))
file_put_contents("{$g['tmp_path']}/{$greif}_routerv6", $gre['tunnel-remote-addr']);
- interfaces_bring_up($laggif);
+ interfaces_bring_up($greif);
return $greif;
}
@@ -1005,7 +1005,7 @@ function interface_gif_configure(&$gif, $gifkey = "") {
mwexec("/sbin/route change -host -inet6 " . escapeshellarg($gif['remote-addr']) . " {$realifgw}");
}
- interfaces_bring_up($laggif);
+ interfaces_bring_up($gifif);
return $gifif;
}
OpenPOWER on IntegriCloud