aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/packet_list.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-06-30 22:46:19 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-06-30 22:46:19 +0000
commit3d831f4bfb85846f36aaf8af6618fc9a1deab516 (patch)
tree6d47c7bc765065a30f6c3c129b25459734b612a4 /gtk/packet_list.c
parent91c2b5b3c84bd4bcdf98f3a5399d99426967cdae (diff)
add a new DCE/RPC related column, which contains the call_id for connection oriented packets or the sequence number for connectionless (datagram) packets.
This is extremely useful, to keep track of the corresponding request/response packets of a DCE/RPC call (which can be quite a lot packets if fragmentation is used). svn path=/trunk/; revision=14826
Diffstat (limited to 'gtk/packet_list.c')
-rw-r--r--gtk/packet_list.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/packet_list.c b/gtk/packet_list.c
index 9aaf8aa928..c45e9d94cd 100644
--- a/gtk/packet_list.c
+++ b/gtk/packet_list.c
@@ -527,8 +527,11 @@ packet_list_new(e_prefs *prefs)
eth_clist_set_column_auto_resize(ETH_CLIST(packet_list), i, FALSE);
eth_clist_set_column_resizeable(ETH_CLIST(packet_list), i, TRUE);
- /* Right-justify the packet number column. */
- if (cfile.cinfo.col_fmt[i] == COL_NUMBER)
+ /* Right-justify some special columns. */
+ if (cfile.cinfo.col_fmt[i] == COL_NUMBER ||
+ cfile.cinfo.col_fmt[i] == COL_PACKET_LENGTH ||
+ cfile.cinfo.col_fmt[i] == COL_CUMULATIVE_BYTES ||
+ cfile.cinfo.col_fmt[i] == COL_DCE_CALL)
eth_clist_set_column_justification(ETH_CLIST(packet_list), i,
GTK_JUSTIFY_RIGHT);
}