Normally when an ip is set the interface comes up on BSD stacks. Though push this commit which Fixes #3281

This commit is contained in:
Ermal 2014-02-17 14:17:50 +00:00
parent db9199d729
commit 11ad160eae

View File

@ -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;
}