summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2007-07-30 23:32:47 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2007-07-30 23:32:47 +0000
commit9865b6346f6442bc8326cde55e5f012250748131 (patch)
treedbb3ca503849f02d26559c574a953293b3d6ae5d /file.c
parentc1c9e0bb904dd3ccd69a758512908afb8f86bb43 (diff)
downloadwireshark-9865b6346f6442bc8326cde55e5f012250748131.tar.gz
As per Ulf's request add ${proto.field} macros that will use the value of the given field has in the last selected packet.
svn path=/trunk/; revision=22427
Diffstat (limited to 'file.c')
-rw-r--r--file.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/file.c b/file.c
index 05acf43ee0..bc1bdc2409 100644
--- a/file.c
+++ b/file.c
@@ -75,6 +75,7 @@
#include <epan/dissectors/packet-data.h>
#include <epan/dissectors/packet-ber.h>
#include <epan/timestamp.h>
+#include <epan/dfilter/dfilter-macro.h>
#include "file_util.h"
@@ -3251,7 +3252,9 @@ cf_select_packet(capture_file *cf, int row)
epan_dissect_run(cf->edt, &cf->pseudo_header, cf->pd, cf->current_frame,
NULL);
-
+
+ dfilter_macro_build_ftv_cache(cf->edt->tree);
+
cf_callback_invoke(cf_cb_packet_selected, cf);
}