aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-02 21:15:49 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-12-02 21:15:49 +0000
commit11056a1429a185c7dc13696486850667a3cd0b94 (patch)
treebba10b00745ee2278670863e1574d7760e2fec79 /epan/dfilter
parent7c805e5dafefa718bca6df5f91d3b783ed145f46 (diff)
From Didier Gautheron: put an "fvalue_t" structure into a "field_info"
structure, rather than separately allocating "fvalue_t"s and having the "field_info" structure point to them - this appears to speed up protocol tree construction a bit. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9146 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/dfvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dfilter/dfvm.c b/epan/dfilter/dfvm.c
index dc8910878a..be409ed35b 100644
--- a/epan/dfilter/dfvm.c
+++ b/epan/dfilter/dfvm.c
@@ -1,5 +1,5 @@
/*
- * $Id: dfvm.c,v 1.11 2003/11/25 13:20:35 sahlberg Exp $
+ * $Id: dfvm.c,v 1.12 2003/12/02 21:15:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -224,7 +224,7 @@ read_tree(dfilter_t *df, proto_tree *tree, header_field_info *hfinfo, int reg)
len = finfos->len;
for (i = 0; i < len; i++) {
finfo = g_ptr_array_index(finfos, i);
- fvalues = g_list_prepend(fvalues, finfo->value);
+ fvalues = g_list_prepend(fvalues, &finfo->value);
}
hfinfo = hfinfo->same_name_next;