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
This commit is contained in:
jbjohnso 2010-09-29 15:18:45 +00:00
parent 4d5fda5c17
commit 62464a182d

View File

@ -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
}