diff options
author | Ermal <eri@pfsense.org> | 2014-02-17 14:17:50 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-17 14:18:32 +0000 |
commit | 2b2d0d545d01a9b21d4350908e73c6ce5b3e1d22 (patch) | |
tree | db73916a017cb9b02811e786216d2e7af0da6794 | |
parent | acbab51a8c2fbdbcc41c96090afa71b8b57db68e (diff) | |
download | pfsense-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
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
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; } |