From a92b34d80d79e81c96bdcbdeed119bd6fbbbe0e1 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 26 Mar 2012 14:19:16 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/SLP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/SLP.pm b/perl-xCAT/xCAT/SLP.pm index e66fde96e..4a5e7d8ee 100644 --- a/perl-xCAT/xCAT/SLP.pm +++ b/perl-xCAT/xCAT/SLP.pm @@ -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;