aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfvm.c
diff options
context:
space:
mode:
authorRichard van der Hoff <richardv@mxtelecom.com>2007-04-10 18:31:36 +0000
committerRichard van der Hoff <richardv@mxtelecom.com>2007-04-10 18:31:36 +0000
commit794b272985cc7463c7c9a62d6485ade74d80eb07 (patch)
tree511bee0aa134e236991f6aa472c32df78ebdf965 /epan/dfilter/dfvm.c
parent3608bc694a94526a9de963ec6ca0d24d7e56dfe3 (diff)
From Sake Blok:
wireshark SHOULD be able to filter on multiple hf's with the same field-name, BUT there is a little bug in the code. I have pinpointed it to the following in epan/dfilter/dfvm.c: ... It actually loops through all the hf's with the same name, but only checks against the original (first) hf. svn path=/trunk/; revision=21372
Diffstat (limited to 'epan/dfilter/dfvm.c')
-rw-r--r--epan/dfilter/dfvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dfilter/dfvm.c b/epan/dfilter/dfvm.c
index 9d368abb18..4e1a4dad44 100644
--- a/epan/dfilter/dfvm.c
+++ b/epan/dfilter/dfvm.c
@@ -414,7 +414,7 @@ dfvm_apply(dfilter_t *df, proto_tree *tree)
hfinfo = arg1->value.hfinfo;
while(hfinfo) {
accum = proto_check_for_protocol_or_field(tree,
- arg1->value.hfinfo->id);
+ hfinfo->id);
if (accum) {
break;
}