2
0
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:
penguhyang
2016-10-19 02:43:54 -04:00
parent 05b9dcdeea
commit 5cd2dcea51

View File

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