IP_MULTICAST_LOOP shall be disabled by default

This commit is contained in:
goldsimon 2010-07-12 14:10:28 +00:00
parent 194a85387b
commit 04beab4f7d

View File

@ -935,10 +935,6 @@ udp_new(void)
/* initialize PCB to all zeroes */ /* initialize PCB to all zeroes */
memset(pcb, 0, sizeof(struct udp_pcb)); memset(pcb, 0, sizeof(struct udp_pcb));
pcb->ttl = UDP_TTL; pcb->ttl = UDP_TTL;
#if LWIP_IGMP
/* multicast loopback shall be turned on by default */
pcb->flags = PBUF_FLAG_MCASTLOOP;
#endif /* LWIP_IGMP */
} }
return pcb; return pcb;
} }