mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-07 02:38:15 +00:00
Correct incorrect loop keyword in nodestat
If a system had 3389 and sshd running, it triggered a bug. Fix by using the correct loop flow keyword for perl.
This commit is contained in:
@@ -722,12 +722,12 @@ sub process_request_nmap {
|
||||
$installquerypossible = 1; #It is possible to actually query node
|
||||
} elsif ($1 ne "3001") {
|
||||
if ($1 == 3389 and $states{'sshd'}) {
|
||||
continue;
|
||||
next;
|
||||
}
|
||||
$states{ $portservices{$1} } = 1;
|
||||
if ($1 == 22 and $states{'rdp'}) {
|
||||
delete $states{'rdp'};
|
||||
continue;
|
||||
next;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user