From a5851706672a1527dceaef407fab094b0c156a7a Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 16 Sep 2012 12:55:49 +0000 Subject: [PATCH] Fix mistake with sid increment git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/IPMI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/IPMI.pm b/xCAT-server/lib/perl/xCAT/IPMI.pm index 1da61c6ee..a6cb2a084 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -337,7 +337,7 @@ sub open_rmcpplus_request { my $self = shift; $self->{'authtype'}=6; unless ($self->{localsid}) { $self->{localsid}=358098297; } #this is an arbitrary number of no significance - $self->{localsid}+1; #new session ID if we are relogging + $self->{localsid}+=1; #new session ID if we are relogging my @sidbytes = unpack("C4",pack("N",$self->{localsid})); $self->{sidm} = \@sidbytes; unless ($self->{rmcptag}) { $self->{rmcptag} = 1; }