diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2007-07-30 23:32:47 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2007-07-30 23:32:47 +0000 |
commit | 9865b6346f6442bc8326cde55e5f012250748131 (patch) | |
tree | dbb3ca503849f02d26559c574a953293b3d6ae5d /file.c | |
parent | c1c9e0bb904dd3ccd69a758512908afb8f86bb43 (diff) | |
download | wireshark-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); } |