mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-15 19:01:44 +00:00
fix setting the ipmi info incorrectly in the site table causes infinite loop
This commit is contained in:
@ -864,8 +864,10 @@ sub got_rakp2 {
|
||||
return;
|
||||
}
|
||||
if ($rmcp_codes{$byte}) {
|
||||
$self->{sessionestablishmentcontext} = STATE_FAILED;
|
||||
$self->{onlogon}->("ERROR: " . $rmcp_codes{$byte}, $self->{onlogon_args}); #TODO: errors
|
||||
} else {
|
||||
$self->{sessionestablishmentcontext} = STATE_FAILED;
|
||||
$self->{onlogon}->("ERROR: $byte code on opening RMCP+ session", $self->{onlogon_args}); #TODO: errors
|
||||
}
|
||||
return 9;
|
||||
|
Reference in New Issue
Block a user