mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
Removed redundant closing bracket.
This commit is contained in:
parent
37a0c57bed
commit
aa249922df
@ -61,7 +61,7 @@ u8_t ip_addr_isbroadcast(struct ip_addr *addr, struct netif *netif)
|
|||||||
else if (addr->addr == netif->ip_addr.addr)
|
else if (addr->addr == netif->ip_addr.addr)
|
||||||
return 0;
|
return 0;
|
||||||
/* on the same (sub) network... */
|
/* on the same (sub) network... */
|
||||||
else if (ip_addr_netcmp(addr->addr, netif->ip_addr.addr, netif->netmask.addr))
|
else if (ip_addr_netcmp(addr->addr, netif->ip_addr.addr, netif->netmask.addr)
|
||||||
/* ...and host identifier bits are all ones? =>... */
|
/* ...and host identifier bits are all ones? =>... */
|
||||||
&& ((addr->addr & ~netif->netmask.addr) ==
|
&& ((addr->addr & ~netif->netmask.addr) ==
|
||||||
(ip_addr_broadcast.addr & ~netif->netmask.addr))
|
(ip_addr_broadcast.addr & ~netif->netmask.addr))
|
||||||
|
Loading…
Reference in New Issue
Block a user