tabascoeye / lwip

a fork of the light-weight IP stack
Other
15 stars 6 forks source link

ICMP Echo replies yield wrong checksum #17

Closed tabascoeye closed 9 years ago

tabascoeye commented 9 years ago

When an ICMP Echo request with either NO payload (data) or an arbirtary amount of 0x00 Bytes as payload reaches LWIP, it responds with an ICMP packet with a wrong checksum (0x0000 instead of 0xffff).

This is a comparison error in icmp.c