Dirk-Willem van Gulik (NXP/mbed) / Mbed 2 deprecated Bonjour

Dependencies:   mbed

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]));