From 11ad160eae8e9d4e17df6462a1975a36faa1abd8 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 17 Feb 2014 14:17:50 +0000 Subject: [PATCH] Normally when an ip is set the interface comes up on BSD stacks. Though push this commit which Fixes #3281 --- etc/inc/interfaces.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index a80742c13e..812e28eb3e 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -889,6 +889,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; } @@ -999,6 +1001,8 @@ function interface_gif_configure(&$gif, $gifkey = "") { mwexec("/sbin/route change -host -inet6 " . escapeshellarg($gif['remote-addr']) . " {$realifgw}"); } + interfaces_bring_up($laggif); + return $gifif; }