mirror of
https://github.com/osmarks/ngircd.git
synced 2025-09-02 18:57:57 +00:00
Change log messages issued for IP address forgeries
This commit is contained in:
@@ -334,14 +334,16 @@ static void
|
|||||||
Log_Forgery_NoIP(const char *ip, const char *host)
|
Log_Forgery_NoIP(const char *ip, const char *host)
|
||||||
{
|
{
|
||||||
Log_Subprocess(LOG_WARNING,
|
Log_Subprocess(LOG_WARNING,
|
||||||
"Possible forgery: %s resolved to %s (which has no ip address)", ip, host);
|
"Possible forgery: %s resolved to \"%s\", which has no IP address!",
|
||||||
|
ip, host);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
Log_Forgery_WrongIP(const char *ip, const char *host)
|
Log_Forgery_WrongIP(const char *ip, const char *host)
|
||||||
{
|
{
|
||||||
Log_Subprocess(LOG_WARNING,
|
Log_Subprocess(LOG_WARNING,
|
||||||
"Possible forgery: %s resolved to %s (which points to different address)", ip, host);
|
"Possible forgery: %s resolved to \"%s\", which points to a different address!",
|
||||||
|
ip, host);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user