Skip to content
Snippets Groups Projects
Commit 3ac5570e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Include a better reason for filtering than just "abuse"

The number of failed login attempts. It's something.
parent 1eeccee1
No related branches found
No related tags found
No related merge requests found
Pipeline #5009 passed
......@@ -217,7 +217,7 @@ void __fastcall TLoginAttemptsForm::FilterIpMenuItemClick(TObject *Sender)
Screen->Cursor=crDefault;
if(h!=NULL)
hostname = h->h_name;
filter_ip(&MainForm->cfg, prot.c_str(), "abuse", hostname
filter_ip(&MainForm->cfg, prot.c_str(), (AnsiString(ListItem->Caption) + " failed login attempts").c_str(), hostname
,ip_addr.c_str(), username.c_str(), /* filename: */NULL, /* duration: */0);
}
if(ListView->Selected == NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment