diff --git a/perl-xCAT/xCAT/NetworkUtils.pm b/perl-xCAT/xCAT/NetworkUtils.pm index 2a115b26d..f3c92e13a 100755 --- a/perl-xCAT/xCAT/NetworkUtils.pm +++ b/perl-xCAT/xCAT/NetworkUtils.pm @@ -1023,7 +1023,7 @@ sub my_nets my $n = $_->{net}; my $if = $_->{mgtifname}; my $nm = $_->{mask}; - if (!$n || !$if || $nm) + if (!$n || !$if || !$nm) { next; #incomplete network }