eyalabraham / 8bit-TCPIP

An 8bit Intel 8088/8086 campatible TCP/IP stack
MIT License
4 stars 0 forks source link

Sequence numbers in RST segments are wrong #4

Closed eyalabraham closed 6 years ago

eyalabraham commented 6 years ago

Sequence numbers in RST segments are wrong.

eyalabraham commented 6 years ago

Used stack_hton() instead of stack_htonl() to convert uint32_t sequence and acknowledge numbers. Changed all call to stack_htonl().