summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a42f7fb..98fbc5a 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -882,6 +882,8 @@ 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);
+
return $greif;
}
@@ -989,6 +991,8 @@ function interface_gif_configure(&$gif, $gifkey = "") {
mwexec("/sbin/route change -host -inet6 " . escapeshellarg($gif['remote-addr']) . " {$realifgw}");
}
+ interfaces_bring_up($laggif);
+
return $gifif;
}
OpenPOWER on IntegriCloud