Hi,
 
I made a fix to udp_input() in src/core/udp.c rev 1.71.  udp_input() would calculate the checksum wrong and drop the packet if the pbuf was a PBUF_REF (it worked okay for non-PBUF_REF).  The problem was that udp_input() attempted to strip the UDP header, add it back, and strip it again.  But pbuf_header() doesn't allow adding back the header for PBUF_REF.
 
Separately, I changed some formatting in udp.c rev 1.70 to fix wrong indentations and really long lines.
 
Regards,
Curt McDowell
Broadcom Corp.
 
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to