interfaces: merge lines, maybe doesn't belong here #5540

This commit is contained in:
Franco Fichtner 2022-02-07 08:00:28 +01:00
parent 02dc1ebd93
commit b088ff04cb

View File

@ -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']);