projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936218b
)
PVE::INotify::write_network_interfaces: readability
author
Wolfgang Bumiller
<w.bumiller@proxmox.com>
Thu, 25 Jun 2015 09:54:32 +0000
(11:54 +0200)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Fri, 26 Jun 2015 05:50:07 +0000
(07:50 +0200)
src/PVE/INotify.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/INotify.pm
b/src/PVE/INotify.pm
index 5fce0c8656f7405f48826ef894f56b63d9c72247..4dd403650665952bc2a53c7753cc9519d5e6e6e3 100644
(file)
--- a/
src/PVE/INotify.pm
+++ b/
src/PVE/INotify.pm
@@
-1304,12
+1304,10
@@
NETWORKDOC
return $p1 <=> $p2 if $p1 != $p2;
return $a cmp $b;
- } keys %$ifaces) {
-
- my $d = $ifaces->{$iface};
-
+ } keys %$ifaces) {
next if $printed->{$iface};
+ my $d = $ifaces->{$iface};
if (@options && $options[0]->[0] < $d->{priority}) {
do {
$raw .= (shift @options)->[1] . "\n";