Re: FYI: Bug in ICMP destination unreachable handling fixed

Harald Kipp <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
Hi Ole,

On 28.09.2015 16:29, Ole Reinhardt wrote:
> -            th = (TCPHDR *) ((char *) ih) + sizeof(IPHDR);
> +            th = (TCPHDR *) (((char *) ih) + sizeof(IPHDR));

Wow, this one hid for more than 11 years!

Btw. most other parts of the stack use this one:

 th = (TCPHDR *) (ih + 1);


Regards,

Harald


_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.