mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
interfaces: bring back old name from c30477bef708fa02
Same same but different. Eventually we want to remove it.
This commit is contained in:
parent
e72954234d
commit
7ee755df75
@ -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])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user