mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-06 22:44:38 +08:00
fixed coding style: use more ()
This commit is contained in:
parent
8b2c73de4e
commit
bb91bd2279
@ -178,7 +178,7 @@ ip4_route(const ip4_addr_t *dest)
|
|||||||
return netif;
|
return netif;
|
||||||
}
|
}
|
||||||
/* gateway matches on a non broadcast interface? (i.e. peer in a point to point interface) */
|
/* gateway matches on a non broadcast interface? (i.e. peer in a point to point interface) */
|
||||||
if ((netif->flags & NETIF_FLAG_BROADCAST) == 0 && ip4_addr_cmp(dest, netif_ip4_gw(netif))) {
|
if (((netif->flags & NETIF_FLAG_BROADCAST) == 0) && ip4_addr_cmp(dest, netif_ip4_gw(netif))) {
|
||||||
/* return netif on which to forward IP packet */
|
/* return netif on which to forward IP packet */
|
||||||
return netif;
|
return netif;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user