update_nics: Change || next
to or next
(for readability)
This commit is contained in:
parent
20439bc130
commit
c5df774b7e
1 changed files with 1 additions and 1 deletions
|
@ -1467,7 +1467,7 @@ sub update_nics {
|
||||||
# version-specific equivalents.
|
# version-specific equivalents.
|
||||||
for my $h (@hosts) {
|
for my $h (@hosts) {
|
||||||
local $_l = pushlogctx($h);
|
local $_l = pushlogctx($h);
|
||||||
my $status = delete($config{$h}{'status'}) || next;
|
my $status = delete($config{$h}{'status'}) or next;
|
||||||
my $ip = $config{$h}{'ip'};
|
my $ip = $config{$h}{'ip'};
|
||||||
my $ipv = is_ipv4($ip) ? '4' : is_ipv6($ip) ? '6' : undef;
|
my $ipv = is_ipv4($ip) ? '4' : is_ipv6($ip) ? '6' : undef;
|
||||||
# TODO: Currently $config{$h}{'ip'} is used for two distinct purposes: it holds the
|
# TODO: Currently $config{$h}{'ip'} is used for two distinct purposes: it holds the
|
||||||
|
|
Loading…
Reference in a new issue