The sequence and ack numbers in a TCP are guint32's, which means they

should be printed with "%u", not "%lu" (especially on LP64 platforms).

Fix up indentation.

svn path=/trunk/; revision=17432
This commit is contained in:
Guy Harris 2006-03-01 00:13:19 +00:00
parent 4ed66d9779
commit c7a5c2bcca
1 changed files with 33 additions and 33 deletions

View File

@ -343,7 +343,7 @@ static int flow_graph_tcp_add_to_graph(packet_info *pinfo, const struct tcpheade
gai->frame_label = g_strdup(flags);
}
gai->comment = g_strdup_printf("Seq = %lu Ack = %lu",tcph->th_seq, tcph->th_ack);
gai->comment = g_strdup_printf("Seq = %u Ack = %u",tcph->th_seq, tcph->th_ack);
gai->line_style=1;
gai->conv_num=0;