mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-16 20:33:20 +00:00
PVE::INotify::write_network_interfaces: readability
This commit is contained in:
parent
936218b86f
commit
11e7facb94
@ -1304,12 +1304,10 @@ NETWORKDOC
|
|||||||
return $p1 <=> $p2 if $p1 != $p2;
|
return $p1 <=> $p2 if $p1 != $p2;
|
||||||
|
|
||||||
return $a cmp $b;
|
return $a cmp $b;
|
||||||
} keys %$ifaces) {
|
} keys %$ifaces) {
|
||||||
|
|
||||||
my $d = $ifaces->{$iface};
|
|
||||||
|
|
||||||
next if $printed->{$iface};
|
next if $printed->{$iface};
|
||||||
|
|
||||||
|
my $d = $ifaces->{$iface};
|
||||||
if (@options && $options[0]->[0] < $d->{priority}) {
|
if (@options && $options[0]->[0] < $d->{priority}) {
|
||||||
do {
|
do {
|
||||||
$raw .= (shift @options)->[1] . "\n";
|
$raw .= (shift @options)->[1] . "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user