2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-15 15:50:22 +00:00

Merge pull request #1989 from penguhyang/loop_rpower

fix setting the ipmi info incorrectly in the site table causes infinite loop
This commit is contained in:
zet809
2016-10-19 15:32:52 +08:00
committed by GitHub

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;