summaryrefslogtreecommitdiff
path: root/tcp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-23 11:53:22 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-23 11:53:22 -0700
commita2633f2f21439cc453530a0cff47ac6084c40a76 (patch)
treecf77f1e4fd4b1e18fcda1e047e84f959ae584640 /tcp.h
parent30f0d2314d1086ebf4bad29b1d11c7916338b95d (diff)
downloadtcpdump-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcp.h b/tcp.h
index d48b8304..36454860 100644
--- a/tcp.h
+++ b/tcp.h
@@ -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 */