diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-04-23 11:53:22 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-04-23 11:53:22 -0700 |
commit | a2633f2f21439cc453530a0cff47ac6084c40a76 (patch) | |
tree | cf77f1e4fd4b1e18fcda1e047e84f959ae584640 /tcp.h | |
parent | 30f0d2314d1086ebf4bad29b1d11c7916338b95d (diff) | |
download | tcpdump-a2633f2f21439cc453530a0cff47ac6084c40a76.tar.gz |
More fixes for uint8_t being shorter than u_int8_t.
Fix a typo while we're at it.
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,8 +43,8 @@ struct tcphdr { uint16_t th_dport; /* destination port */ tcp_seq th_seq; /* sequence number */ tcp_seq th_ack; /* acknowledgement number */ - uint8_t th_offx2; /* data offset, rsvd */ - uint8_t th_flags; + uint8_t th_offx2; /* data offset, rsvd */ + uint8_t th_flags; uint16_t th_win; /* window */ uint16_t th_sum; /* checksum */ uint16_t th_urp; /* urgent pointer */ |