0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-01-03 15:41:54 +00:00

lib/ip.c: add parenthesis for better readability

This commit is contained in:
Pavel Tvrdík 2015-04-03 12:49:21 +02:00
parent e7bb2daf1f
commit a35f717f0f

View File

@ -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))