summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-02-17 14:17:50 +0000
committerErmal <eri@pfsense.org>2014-02-17 14:18:32 +0000
commit2b2d0d545d01a9b21d4350908e73c6ce5b3e1d22 (patch)
treedb73916a017cb9b02811e786216d2e7af0da6794 /etc
parentacbab51a8c2fbdbcc41c96090afa71b8b57db68e (diff)
downloadpfsense-2b2d0d545d01a9b21d4350908e73c6ce5b3e1d22.zip
pfsense-2b2d0d545d01a9b21d4350908e73c6ce5b3e1d22.tar.gz
Normally when an ip is set the interface comes up on BSD stacks. Though push this commit which Fixes #3281
Diffstat (limited to 'etc')
-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