mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
bring up appropriate interface for GRE/GIF. Ticket #3281
This commit is contained in:
parent
ebe2b407b3
commit
da2ec3361e
@ -891,7 +891,7 @@ 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);
|
||||
interfaces_bring_up($greif);
|
||||
|
||||
return $greif;
|
||||
}
|
||||
@ -1005,7 +1005,7 @@ function interface_gif_configure(&$gif, $gifkey = "") {
|
||||
mwexec("/sbin/route change -host -inet6 " . escapeshellarg($gif['remote-addr']) . " {$realifgw}");
|
||||
}
|
||||
|
||||
interfaces_bring_up($laggif);
|
||||
interfaces_bring_up($gifif);
|
||||
|
||||
return $gifif;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user