From 896aa236911751cf280cb06e2045b34aca94cece Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 3 Jun 2010 01:35:19 +0000 Subject: [PATCH] fix for IPv6, my_nets, do not return IPv6 networks on Linux for now git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6327 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Utils.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/perl-xCAT/xCAT/Utils.pm b/perl-xCAT/xCAT/Utils.pm index ba08479bc..abe1e628f 100644 --- a/perl-xCAT/xCAT/Utils.pm +++ b/perl-xCAT/xCAT/Utils.pm @@ -2218,10 +2218,6 @@ sub my_nets if (!$v6net) { my $curmask = 2**$maskbits - 1 << (32 - $maskbits); - if (!$curnet) - { - next; - } my $nown = unpack("N", inet_aton($curnet)); $nown = $nown & $curmask; my $textnet=inet_ntoa(pack("N",$nown));