From 7d3d00937eb2c839964b0689b1a2eeddc4d469be Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 4 Mar 2011 08:49:01 +0000 Subject: [PATCH] update the ipadd for lshwconn git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPconn.pm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/perl-xCAT/xCAT/FSPconn.pm b/perl-xCAT/xCAT/FSPconn.pm index 30a5e855a..72d2dae68 100644 --- a/perl-xCAT/xCAT/FSPconn.pm +++ b/perl-xCAT/xCAT/FSPconn.pm @@ -590,11 +590,12 @@ sub lshwconn my $slot = $5; my $ipadd = $6; my $alt_ipaddr = $7; - if($ipadd ne $node_ip) { - $ipadd=$7; - $alt_ipaddr = $6; - } - $data = "$sp,ipadd=$node_ip,alt_ipadd=$alt_ipaddr,state=$state"; + #if($ipadd ne $node_ip) { + # $ipadd=$7; + # $alt_ipaddr = $6; + #} + #$data = "$sp,ipadd=$node_ip,alt_ipadd=$alt_ipaddr,state=$state"; + $data = "$sp,ipadd=$ipadd,alt_ipadd=$alt_ipaddr,state=$state"; #my $s; #foreach my $val ( @infomap ) { # if ( $data =~ /@$val[0]=([\w.\-\s]+)/ ) {