mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
IP_MULTICAST_LOOP shall be disabled by default
This commit is contained in:
parent
194a85387b
commit
04beab4f7d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user