ip_cloaking: fix digits in hostnames

This commit is contained in:
Jilles Tjoelker 2008-09-19 23:42:28 +02:00
parent 8109e8e320
commit 9b9c8484ed
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ do_host_cloak_host(const char *inbuf, char *outbuf)
{
if (isdigit(*tptr))
{
*tptr = (*tptr + accum) % 10;
*tptr = '0' + (*tptr + accum) % 10;
}
accum = (accum << 1) | (accum >> 31);