summaryrefslogtreecommitdiff
path: root/dfilter.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-10-11 14:58:04 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-10-11 14:58:04 +0000
commitc6d6deee3cf80aafc7eba03df304c0b405341aef (patch)
tree1a09727dba0852332b9378d7432230be9893d55d /dfilter.h
parenta2bfe213c54be3adb33b28be56341cb30a300cb0 (diff)
downloadwireshark-c6d6deee3cf80aafc7eba03df304c0b405341aef.tar.gz
Fixed bug reported by Laurent regarding byte-string filters not
checking the length of the packet before copying bytes from the packet. svn path=/trunk/; revision=807
Diffstat (limited to 'dfilter.h')
-rw-r--r--dfilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dfilter.h b/dfilter.h
index f0c6f18a3b..c5ad3c4055 100644
--- a/dfilter.h
+++ b/dfilter.h
@@ -1,7 +1,7 @@
/* dfilter.h
* Definitions for display filters
*
- * $Id: dfilter.h,v 1.11 1999/10/11 06:39:04 guy Exp $
+ * $Id: dfilter.h,v 1.12 1999/10/11 14:58:01 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -61,6 +61,6 @@ void dfilter_destroy(dfilter *df);
dfilter* dfilter_compile(gchar* dfilter_text);
/* Apply compiled dfilter to a proto_tree */
-gboolean dfilter_apply(dfilter *df, proto_tree *ptree, const guint8* pd);
+gboolean dfilter_apply(dfilter *df, proto_tree *ptree, const guint8* pd, guint len);
#endif /* ! __DFILTER_H__ */