ip_cloaking: fix digits in hostnames
This commit is contained in:
parent
e1c1f08d24
commit
9d99a3096c
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ do_host_cloak_host(const char *inbuf, char *outbuf)
|
||||||
{
|
{
|
||||||
if (isdigit(*tptr))
|
if (isdigit(*tptr))
|
||||||
{
|
{
|
||||||
*tptr = (*tptr + accum) % 10;
|
*tptr = '0' + (*tptr + accum) % 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
accum = (accum << 1) | (accum >> 31);
|
accum = (accum << 1) | (accum >> 31);
|
||||||
|
|
Loading…
Reference in a new issue