From 4b32bc602e433106d0a1054e921ef9723213a148 Mon Sep 17 00:00:00 2001 From: ligc Date: Tue, 11 Dec 2012 02:08:09 +0000 Subject: [PATCH] fix a typo in my_nets, to not throw away all the remote networks git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/NetworkUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }