minor fix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-03-24 09:56:48 +00:00
parent 1ff81c72e2
commit 6d306b25a8

View File

@ -1372,10 +1372,10 @@ sub gethost_from_url_or_old {
# Extract IP from URL
#######################################
my $nets = xCAT::Utils::my_nets();
my $ip = getip_from_iplist( $ip, $nets, $opt{i});
if ( !defined( $ip )) {
return undef;
}
my $avip = getip_from_iplist( $ip, $nets, $opt{i});
#if ( !defined( $ip )) {
# return undef;
#}
# get the information of existed nodes to do the migration
if ( !defined(%::OLD_DATA_CACHE))