mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Number can be negative https://github.com/webmin/webmin/issues/1321
This commit is contained in:
@@ -195,7 +195,7 @@ if ($? || $out =~ /Could not perform SendTargets discovery/i) {
|
||||
}
|
||||
my @rv;
|
||||
foreach my $l (@lines) {
|
||||
if ($l =~ /^(\S+):(\d+),(\d+)\s+(\S+):(\S+)/) {
|
||||
if ($l =~ /^(\S+):(\d+),([0-9\-]+)\s+(\S+):(\S+)/) {
|
||||
push(@rv, { 'ip' => $1,
|
||||
'port' => $2,
|
||||
'name' => $4,
|
||||
|
||||
Reference in New Issue
Block a user