aboutsummaryrefslogtreecommitdiffstats
path: root/packet-netbios.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-20 21:59:18 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-20 21:59:18 +0000
commite8d4f4f0ac7481c316b3e25a41b1cc747440220e (patch)
treeae3c72a5204d6498a7f2957738be88615f89a115 /packet-netbios.c
parent62490b8fdb16d066581c40405cb0d8484248fb09 (diff)
Make the capture routines take an additional argument giving the amount
of packet data captured. Make the "BYTES_ARE_IN_FRAME()" macro take a "captured length of the packet" argument. Add some length checks to capture routines. svn path=/trunk/; revision=4235
Diffstat (limited to 'packet-netbios.c')
-rw-r--r--packet-netbios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-netbios.c b/packet-netbios.c
index 31cd63e6e6..8046543324 100644
--- a/packet-netbios.c
+++ b/packet-netbios.c
@@ -5,7 +5,7 @@
*
* derived from the packet-nbns.c
*
- * $Id: packet-netbios.c,v 1.39 2001/09/29 20:32:29 guy Exp $
+ * $Id: packet-netbios.c,v 1.40 2001/11/20 21:59:13 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -218,7 +218,7 @@ static const true_false_string netb_version_str = {
};
-void capture_netbios(const u_char *pd, int offset, packet_counts *ld)
+void capture_netbios(const u_char *pd, int offset, int len, packet_counts *ld)
{
ld->netbios++;
}