Remove duplicate check (not entirely duplicate, but was catching the same thing as an earlier one)

This commit is contained in:
2024-03-24 12:49:36 +01:00
parent f8d1c1b3e1
commit 3b9ab1864d

View File

@ -96,14 +96,6 @@ sub parser {
m/ (rip=($re_host)) /gcix && do {
$host = $2;
};
} elsif($string =~ m/unknown user$/) {
$_ = $string;
$hostile = 1;
$reply = 'Unknown user';
PARSER:
m/Info: pam\([a-zA-Z0-9@._-]*,($re_host),\<.*\>\): unknown user/gi && do {
$host = $1;
};
} elsif($string =~ m/Request timed out waiting for client to continue authentication/) {
$hostile = 0;
$reply = 'Timed out during auth';