mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-11 17:08:46 +00:00
lib/ip.c: add parenthesis for better readability
This commit is contained in:
parent
e7bb2daf1f
commit
a35f717f0f
2
lib/ip.c
2
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user