mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
interfaces: merge lines, maybe doesn't belong here #5540
This commit is contained in:
parent
02dc1ebd93
commit
b088ff04cb
@ -794,8 +794,7 @@ function interface_gif_configure(&$gif)
|
||||
$realifgw = $gateways->getInterfaceGateway($gif['if'], "inet6");
|
||||
}
|
||||
|
||||
$realif = get_real_interface($gif['if']);
|
||||
interfaces_bring_up($realif);
|
||||
interfaces_bring_up(get_real_interface($gif['if'])); /* XXX overreach? */
|
||||
|
||||
if (file_exists("/var/run/booting") || !empty($gif['gifif'])) {
|
||||
legacy_interface_destroy($gif['gifif']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user