Fix from HEAD.
This commit is contained in:
parent
792e614144
commit
fe43caa4a4
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ static int ipv6_from_asc(unsigned char *v6, const char *in)
|
|||
|
||||
/* Format result */
|
||||
|
||||
if (v6stat.zero_pos > 0)
|
||||
if (v6stat.zero_pos >= 0)
|
||||
{
|
||||
/* Copy initial part */
|
||||
memcpy(v6, v6stat.tmp, v6stat.zero_pos);
|
||||
|
|
Loading…
Reference in a new issue