Fix bug 3190451:lsslp -s BPA/FSP output issue with IP address and hostname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8920 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2132,7 +2132,10 @@ sub parse_responses { | ||||
|             { | ||||
|                 $outhash{$hostname} = \@severnode1; | ||||
|             } | ||||
|  | ||||
|             if ( length( $severnode1[4] ) > $$length ) { | ||||
|                 $$length = length( $severnode1[4] ); | ||||
|             } | ||||
|              | ||||
|             #begin to define another fsp/bpa | ||||
|             $hostname = undef; | ||||
|             foreach (@result) { | ||||
| @@ -2148,7 +2151,10 @@ sub parse_responses { | ||||
|             { | ||||
|                  $outhash{$hostname} = \@severnode2; | ||||
|             } | ||||
|  | ||||
|             if ( length( $severnode2[4] ) > $$length ) { | ||||
|                 $$length = length( $severnode2[4] ); | ||||
|             } | ||||
|              | ||||
|             ########################################### | ||||
|             #  begin to define frame and cec | ||||
|             #  As default, use Server-$result[1]-SN$result[2] as hostname | ||||
|   | ||||
		Reference in New Issue
	
	Block a user