diff --git a/lib/ip.c b/lib/ip.c index e1bfba49..70f33783 100644 --- a/lib/ip.c +++ b/lib/ip.c @@ -306,7 +306,7 @@ ip6_pton(char *a, ip6_addr *o) if (*a == ':' && a[1]) a++; - else if (*a == '.' && (i == 6 || i < 6 && hfil >= 0)) + else if (*a == '.' && (i == 6 || (i < 6 && hfil >= 0))) { /* Embedded IPv4 address */ ip4_addr x; if (!ip4_pton(start, &x))