mirror of
https://github.com/osmarks/ngircd.git
synced 2024-10-28 04:46:17 +00:00
Change log messages issued for IP address forgeries
This commit is contained in:
parent
31b3c83c1f
commit
7e14bd3b58
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user