Networking: Fixes an important TCP bug: 16-bit flags was being converted to 8-bits in a few locations, causing loss of status indications

This commit is contained in:
Gregory Nutt
2015-05-27 17:17:42 -06:00
parent 4fd0192a3e
commit d6c3ed1c6f
3 changed files with 3 additions and 3 deletions

View File

@@ -103,8 +103,8 @@ static void tcp_input(FAR struct net_driver_s *dev, unsigned int iplen)
unsigned int hdrlen;
uint16_t tmp16;
uint16_t flags;
uint16_t result;
uint8_t opt;
uint8_t result;
int len;
int i;