mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-05 08:31:53 +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])
|
if (*a == ':' && a[1])
|
||||||
a++;
|
a++;
|
||||||
else if (*a == '.' && (i == 6 || i < 6 && hfil >= 0))
|
else if (*a == '.' && (i == 6 || (i < 6 && hfil >= 0)))
|
||||||
{ /* Embedded IPv4 address */
|
{ /* Embedded IPv4 address */
|
||||||
ip4_addr x;
|
ip4_addr x;
|
||||||
if (!ip4_pton(start, &x))
|
if (!ip4_pton(start, &x))
|
||||||
|
Loading…
Reference in New Issue
Block a user