From 62464a182da98391bebad5fe77c53d4a1c44c16d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 29 Sep 2010 15:18:45 +0000 Subject: [PATCH] fix another problem in switch code change git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/MacMap.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/MacMap.pm b/perl-xCAT/xCAT/MacMap.pm index c83fad91b..c829d7fe5 100644 --- a/perl-xCAT/xCAT/MacMap.pm +++ b/perl-xCAT/xCAT/MacMap.pm @@ -417,7 +417,7 @@ sub refresh_switch { my @mac = @tmp[-6 .. -1]; my $macstring=sprintf("%02x:%02x:%02x:%02x:%02x:%02x",@mac); if ($output) { - printf $output "$macstring|%s\n",@mac,$self->{switches}->{$switch}->{$portname}; + printf $output "$macstring|%s\n",$self->{switches}->{$switch}->{$portname}; } push @{$self->{nodeinfo}->{$self->{switches}->{$switch}->{$portname}}->{macs}->{$portname}},$macstring; #this could be used as getmacs sort of deal }