interfaces: bring back old name from c30477bef708fa02

Same same but different.  Eventually we want to remove it.
This commit is contained in:
Franco Fichtner 2021-11-22 14:43:47 +01:00
parent e72954234d
commit 7ee755df75

View File

@ -2316,7 +2316,7 @@ function interfaces_addresses_flush($realif, $family = 4, $ifconfig_details = nu
}
}
function interface_configure_parent($realif)
function interface_virtual_create($realif)
{
if (empty($realif)) {
return;
@ -2374,7 +2374,7 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
}
/* XXX ideally we should give up inlining parent configuration */
interface_configure_parent($realhwif);
interface_virtual_create($realhwif);
$ifconfig_details = legacy_interfaces_details();
if (empty($ifconfig_details[$realhwif])) {