Add CWR back into the PRINT_TH_FLAGS list as gcc42 doesn't complain

about \8 in a string anymore.
This commit is contained in:
andre 2007-05-23 19:16:21 +00:00
parent f4178bd6f5
commit 7fbbdcecf4

View File

@ -69,7 +69,7 @@ struct tcphdr {
#define TH_ECE 0x40
#define TH_CWR 0x80
#define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_PUSH|TH_ACK|TH_URG|TH_ECE|TH_CWR)
#define PRINT_TH_FLAGS "\20\1FIN\2SYN\3RST\4PUSH\5ACK\6URG\7ECE"
#define PRINT_TH_FLAGS "\20\1FIN\2SYN\3RST\4PUSH\5ACK\6URG\7ECE\8CWR"
u_short th_win; /* window */
u_short th_sum; /* checksum */