Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Commit

Permalink
Print TCP header flags in hex.
Browse files Browse the repository at this point in the history
  • Loading branch information
John E committed Jun 1, 2012
1 parent 3657bdf commit 9afebb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synfrag.c
Expand Up @@ -364,7 +364,7 @@ void print_tcph( struct tcphdr *tcph )
Dst Port: %u\n\
Seq Num: %u\n\
Ack Num: %u\n\
Flags: %i (%s)\n",
Flags: %02X (%s)\n",
ntohs( tcph->th_sport ),
ntohs( tcph->th_dport ),
ntohl( tcph->th_seq ),
Expand Down

0 comments on commit 9afebb0

Please sign in to comment.