Removed redundant closing bracket.

This commit is contained in:
likewise 2004-11-25 13:59:06 +00:00
parent 37a0c57bed
commit aa249922df

View File

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