From 9afebb0f14bb5666b03e5e16460e7e13f85af395 Mon Sep 17 00:00:00 2001 From: John E Date: Thu, 31 May 2012 17:27:30 -0700 Subject: [PATCH] Print TCP header flags in hex. --- synfrag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synfrag.c b/synfrag.c index 5fb9dc5..adf0104 100644 --- a/synfrag.c +++ b/synfrag.c @@ -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 ),