aboutsummaryrefslogtreecommitdiffstats
path: root/epan/epan.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 /epan/epan.c
parent8e278e7f90f3b93e3f2760babf8eff08756cf965 (diff)
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 'epan/epan.c')
-rw-r--r--epan/epan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/epan.c b/epan/epan.c
index 021958efc0..236ea20b92 100644
--- a/epan/epan.c
+++ b/epan/epan.c
@@ -235,10 +235,11 @@ epan_dissect_prime_dfilter(epan_dissect_t *edt, const dfilter_t* dfcode)
/* ----------------------- */
const gchar *
epan_custom_set(epan_dissect_t *edt, int field_id,
+ gint occurrence,
gchar *result,
gchar *expr, const int size )
{
- return proto_custom_set(edt->tree, field_id, result, expr, size);
+ return proto_custom_set(edt->tree, field_id, occurrence, result, expr, size);
}
void