+nenolod 2007/07/06 07:54:54 UTC (20070706-3524)
+ Log:
+ - fix a possible problem with ipv6
+
+
+ Changes: Modified:
+ +4 -0 trunk/extensions/ip_cloaking.c (File Modified)
+
+
nenolod 2007/07/06 07:48:28 UTC (20070706-3522)
Log:
- new ip cloaking module
-/* $Id: ip_cloaking.c 3524 2007-07-06 07:54:54Z nenolod $ */
+/* $Id: ip_cloaking.c 3526 2007-07-06 07:56:14Z nenolod $ */
#include "stdinc.h"
#include "modules.h"
};
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
- ip_cloaking_hfnlist, "$Revision: 3524 $");
+ ip_cloaking_hfnlist, "$Revision: 3526 $");
static void
distribute_hostchange(struct Client *client)
tptr = strrchr(buf, '.');
if (tptr == NULL)
+ {
+ strncpy(outbuf, inbuf, HOSTLEN);
return;
+ }
*tptr++ = '\0';