From 4bb34e0e92cfefb53a0499ba5676e9f158ce5169 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 21 Mar 2012 09:54:53 +0000 Subject: [PATCH] fixing bug 3490738: one additional change from last chackin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11930 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPmac.pm | 2 +- perl-xCAT/xCAT/PPCmac.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPmac.pm b/perl-xCAT/xCAT/FSPmac.pm index eb14524f2..a356ffe18 100644 --- a/perl-xCAT/xCAT/FSPmac.pm +++ b/perl-xCAT/xCAT/FSPmac.pm @@ -387,7 +387,7 @@ sub getmacs { last; } } - if ( $matched == 1 ) { + if ( $matched ) { push @$value,"$att{'Type'} $att{'Phys_Port_Loc'} $att{'MAC_Address'} $att{'Adapter'} $att{'Port_Group'} $att{'Phys_Port'} $att{'Logical_Port'} $att{'VLan'} $att{'VSwitch'} $att{'Curr_Conn_Speed'}\n"; } } else { diff --git a/perl-xCAT/xCAT/PPCmac.pm b/perl-xCAT/xCAT/PPCmac.pm index 3f7dc80bb..abcb46439 100644 --- a/perl-xCAT/xCAT/PPCmac.pm +++ b/perl-xCAT/xCAT/PPCmac.pm @@ -578,7 +578,7 @@ sub getmacs { last; } } - if ( $matched == 1 ) { + if ( $matched ) { push @$value,"$att{'Type'} $att{'Phys_Port_Loc'} $att{'MAC_Address'} $att{'Adapter'} $att{'Port_Group'} $att{'Phys_Port'} $att{'Logical_Port'} $att{'VLan'} $att{'VSwitch'} $att{'Curr_Conn_Speed'}"; } } else {