ip_cloaking: fix digits in hostnames
This commit is contained in:
parent
8109e8e320
commit
9b9c8484ed
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue