Fix mistake with sid increment

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-09-16 12:55:27 +00:00
parent cb0d7edc64
commit ccaacfd954

View File

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