aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-10-02 19:55:43 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-10-02 19:55:43 +0000
commite162470d6b60999deebdb389cdba33e6ddd97ca5 (patch)
tree781c5862e40fa6d97ca5aff45cff83fa279ca233 /file.c
parent6f28135ec86e734f19b9f1907ef153da77120a44 (diff)
Prime interesting fields when selecting a package, so Lua's ProtoField
can extract the field value correctly. This fixes bug 4058. svn path=/trunk/; revision=30252
Diffstat (limited to 'file.c')
-rw-r--r--file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 343fec8d8f..18275993f5 100644
--- a/file.c
+++ b/file.c
@@ -4056,6 +4056,7 @@ cf_select_packet(capture_file *cf, int row)
/* We don't need the columns here. */
cf->edt = epan_dissect_new(TRUE, TRUE);
+ tap_build_interesting(cf->edt);
epan_dissect_run(cf->edt, &cf->pseudo_header, cf->pd, cf->current_frame,
NULL);