ping packet (icmp)


hello. your mip stack is great! it inspired my to do my own one (for a different uC, avr)
and from time to time i look at yours how you do things.

so i found out your ping packet is wrong. it works for windows machines, but like when my router sends a ping, data data (abcd...) is different, and it has to be the same that is sent by the request.

i handle it this way: just use the original packet, change the needed stuff (source, destination mac, ip and such) and than send it back, same lenght