aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.c
diff options
context:
space:
mode:
authortpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-17 05:29:46 +0000
committertpot <tpot@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-17 05:29:46 +0000
commitb50d55422c1c02067c6a87c22ded5b62a7b40fc3 (patch)
treea5422bf833e7dc12ed834fc29fa61bf2acd116a4 /packet-dcerpc.c
parentd427fa0a1f30717f6a61a8f23ec44215d0f41448 (diff)
Remove silly dcerpc_smb_check_long_frame() function and all calls to it.
A much better place to do this is after the subdissector function has been called in dcercp_try_handoff(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7895 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc.c')
-rw-r--r--packet-dcerpc.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/packet-dcerpc.c b/packet-dcerpc.c
index 3b171bcb80..7ee7260b7f 100644
--- a/packet-dcerpc.c
+++ b/packet-dcerpc.c
@@ -2,7 +2,7 @@
* Routines for DCERPC packet disassembly
* Copyright 2001, Todd Sabin <tas@webspan.net>
*
- * $Id: packet-dcerpc.c,v 1.129 2003/06/12 08:33:29 guy Exp $
+ * $Id: packet-dcerpc.c,v 1.130 2003/06/17 05:29:45 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1743,6 +1743,17 @@ dcerpc_try_handoff (packet_info *pinfo, proto_tree *tree,
show_reported_bounds_error(tvb, pinfo, tree);
} ENDTRY;
+
+ /* If we have a subdissector and it didn't dissect all data in
+ the tvb, make a note of it. */
+
+ if (tvb_length_remaining(tvb, offset)) {
+ if (check_col(pinfo->cinfo, COL_INFO))
+ col_append_fstr(pinfo->cinfo, COL_INFO,
+ "[Long frame (%d bytes)]",
+ tvb_length_remaining(tvb, offset));
+ }
+
pinfo->current_proto = saved_proto;
pinfo->private_data = saved_private_data;
} else {