mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	use the getIPaddress() in FSPUtils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12455 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -639,7 +639,8 @@ sub lshwconn
 | 
			
		||||
                    #my $node_ip_hash = $hosttab->getNodeAttribs( $node_name,[qw(ip)]);
 | 
			
		||||
                    #$node_ip = $node_ip_hash->{ip};
 | 
			
		||||
                    #$node_ip = xCAT::Utils::getNodeIPaddress( $node_name );
 | 
			
		||||
                    $node_ip = xCAT::Utils::getIPaddress( $node_name );
 | 
			
		||||
		    my $d = $nodehash->{$node_name};
 | 
			
		||||
                    $node_ip = xCAT::FSPUtils::getIPaddress($request, $$d[4], $node_name );
 | 
			
		||||
                }
 | 
			
		||||
                if (!$node_ip || ($node_ip == -3))
 | 
			
		||||
                {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user