Fix SLP mistake of discarding two bytes from the attribute list erroneously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a2f1109df8
commit
a92b34d80d
@ -151,7 +151,7 @@ sub parse_attribute_reply {
|
||||
sub parse_attribute_list {
|
||||
my $payload = shift;
|
||||
my $attrlength = ($payload->[0]<<8)+$payload->[1];
|
||||
splice(@$payload,0,4);
|
||||
splice(@$payload,0,2);
|
||||
my @attributes = splice(@$payload,0,$attrlength);
|
||||
my $attrstring = pack("C*",@attributes);
|
||||
my %attribs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user