aboutsummaryrefslogtreecommitdiffstats
path: root/packet-udp.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-04-14 05:39:43 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-04-14 05:39:43 +0000
commit61167a3c28f1413cfe0f3a3fb0f9454815a02b16 (patch)
tree939261d5f15a73a162f634864c4c25a5deb23a5b /packet-udp.c
parentd716875317fdf7597ece0639082efe943598bccd (diff)
downloadwireshark-61167a3c28f1413cfe0f3a3fb0f9454815a02b16.tar.gz
wireshark-61167a3c28f1413cfe0f3a3fb0f9454815a02b16.tar.bz2
wireshark-61167a3c28f1413cfe0f3a3fb0f9454815a02b16.zip
Change dfilter_apply() to 4-argument function. 4th argument is not yet used,
but will be in the future, and it's easier for me to keep my local branch in sync with the source with the calls to dfilter_apply() already modified tothe 4-arg format. Add a CPP macro to ipv4.h to define ipv4_addr_ne(). Use it in dfilter.c svn path=/trunk/; revision=1854
Diffstat (limited to 'packet-udp.c')
-rw-r--r--packet-udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-udp.c b/packet-udp.c
index 079b19f442..a137fc214d 100644
--- a/packet-udp.c
+++ b/packet-udp.c
@@ -1,7 +1,7 @@
/* packet-udp.c
* Routines for UDP packet disassembly
*
- * $Id: packet-udp.c,v 1.61 2000/04/13 18:18:50 gram Exp $
+ * $Id: packet-udp.c,v 1.62 2000/04/14 05:39:43 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -119,7 +119,7 @@ decode_udp_ports( const u_char *pd, int offset, frame_data *fd,
if (enabled_plugins_number > 0) {
while (pt_plug) {
if (pt_plug->enabled && !strcmp(pt_plug->protocol, "udp") &&
- tree && dfilter_apply(pt_plug->filter, tree, pd)) {
+ tree && dfilter_apply(pt_plug->filter, tree, pd, fd->cap_len)) {
pt_plug->dissector(pd, offset, fd, tree);
return;
}