mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
parent
8ddc9268f6
commit
f518196ca6
2 changed files with 6 additions and 4 deletions
|
@ -1227,7 +1227,7 @@ is_ip_address (const char *name)
|
|||
if (*s == '.')
|
||||
{
|
||||
if (s[1] == '.')
|
||||
return 0; /* No: Douple dot. */
|
||||
return 0; /* No: Double dot. */
|
||||
if (atoi (s+1) > 255)
|
||||
return 0; /* No: Ipv4 byte value too large. */
|
||||
ndots++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue