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:
parent
4d5fda5c17
commit
62464a182d
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user