Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lwip/core/ipv4/ip.c
- Revision:
- 2:816cbd922d3e
- Parent:
- 0:355018f44c9f
--- a/lwip/core/ipv4/ip.c Thu Jul 22 00:08:38 2010 +0000 +++ b/lwip/core/ipv4/ip.c Sat Jul 24 20:59:52 2010 +0000 @@ -295,11 +295,13 @@ /* interface is up and configured? */ if ((netif_is_up(netif)) && (!ip_addr_isany(&(netif->ip_addr)))) { /* unicast to this interface address? */ - if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr)) || + if (ip_addr_cmp(&(iphdr->dest), &(netif->ip_addr)) /* or broadcast on this interface network address? */ - ip_addr_isbroadcast(&(iphdr->dest), netif) || + || ip_addr_isbroadcast(&(iphdr->dest), netif) + #if 0 /* or is this to our multicast interface? DIRKX */ - ip_addr_ismulticast(&(iphdr->dest)) + || ip_addr_ismulticast(&(iphdr->dest)) + #endif ) { LWIP_DEBUGF(IP_DEBUG, ("ip_input: packet accepted on interface %c%c\n", netif->name[0], netif->name[1]));