Fix rigid and limit value usage.

Before only the first value was used for all plots.
This commit is contained in:
Andreas Bachlechner 2021-09-30 10:00:04 +02:00
parent 5a9e968144
commit 7d13171e35
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,6 @@ sub ipmi_cgi {
}
}
@riglim = @{setup_riglim($rigid[0], $limit[0])};
$n = 0;
while($n < scalar(my @sl = split(',', $ipmi->{list}))) {
if($title) {
@ -375,6 +374,7 @@ sub ipmi_cgi {
if($title) {
push(@output, " <td>\n");
}
@riglim = @{setup_riglim($rigid[$n], $limit[$n])};
undef(@tmp);
undef(@tmpz);
undef(@CDEF);