summaryrefslogtreecommitdiff
path: root/gtk/new_packet_list.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2010-09-22 20:56:14 +0000
committerSake Blok <sake@euronet.nl>2010-09-22 20:56:14 +0000
commit7364bef1b3262a02a649c7375acf48076e170706 (patch)
treea9a6e294a01ccdc4d73332108c123f40afbc0fe6 /gtk/new_packet_list.c
parent8e278e7f90f3b93e3f2760babf8eff08756cf965 (diff)
downloadwireshark-7364bef1b3262a02a649c7375acf48076e170706.tar.gz
When using a custom column, make it possible to select which occurrence to show if the field has multiple occurrences.
svn path=/trunk/; revision=34186
Diffstat (limited to 'gtk/new_packet_list.c')
-rw-r--r--gtk/new_packet_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c
index d71a79caf7..92b108d6d9 100644
--- a/gtk/new_packet_list.c
+++ b/gtk/new_packet_list.c
@@ -1493,7 +1493,7 @@ new_packet_list_recent_write_all(FILE *rf)
for (col = 0; col < num_cols; col++) {
col_fmt = get_column_format(col);
if (col_fmt == COL_CUSTOM) {
- fprintf (rf, " %%Cus:%s,", get_column_custom_field(col));
+ fprintf (rf, " %%Cus:%s:%d,", get_column_custom_field(col),get_column_custom_occurrence(col));
} else {
fprintf (rf, " %s,", col_format_to_string(col_fmt));
}