ngircd

Free, portable and lightweight Internet Relay Chat server http://ngircd.barton.de/
Log | Files | Refs | README | LICENSE

commit 7e14bd3b58522ac34f0af29182248df1577d99c9
parent 31b3c83c1f1b18fa1ed0501e95ed8e5f6cc6d407
Author: Alexander Barton <alex@barton.de>
Date:   Wed, 10 Dec 2014 11:01:51 +0100

Change log messages issued for IP address forgeries

Diffstat:
Msrc/ngircd/resolve.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/ngircd/resolve.c b/src/ngircd/resolve.c @@ -334,14 +334,16 @@ static void Log_Forgery_NoIP(const char *ip, const char *host) { 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 Log_Forgery_WrongIP(const char *ip, const char *host) { 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); }