mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
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))
|
||||
{
|
||||
*tptr = (*tptr + accum) % 10;
|
||||
*tptr = '0' + (*tptr + accum) % 10;
|
||||
}
|
||||
|
||||
accum = (accum << 1) | (accum >> 31);
|
||||
|
|
Loading…
Reference in a new issue