aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-netlogon.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-23 04:57:46 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-10-23 04:57:46 +0000
commit0e6a5d639b2a57354803b6956ba42931c58bd24a (patch)
tree518463fa396e86bcc4a8a7ca10b8116e5047ac61 /packet-dcerpc-netlogon.c
parentf1301f2976640123a8f24d07bc84c452b4b97d7b (diff)
Use -1 rather than "tvb_length(tvb)" to specify a length that covers the
entire tvbuff for Secure Channel bind credentials. Use -1 rather than 0 to have the top-level item for Secure Channel ACK credentials cover the entire tvbuff. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8756 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc-netlogon.c')
-rw-r--r--packet-dcerpc-netlogon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dcerpc-netlogon.c b/packet-dcerpc-netlogon.c
index a2e45bbcdf..f6c0d6a184 100644
--- a/packet-dcerpc-netlogon.c
+++ b/packet-dcerpc-netlogon.c
@@ -3,7 +3,7 @@
* Copyright 2001,2003 Tim Potter <tpot@samba.org>
* 2002 structure and command dissectors by Ronnie Sahlberg
*
- * $Id: packet-dcerpc-netlogon.c,v 1.93 2003/09/27 23:48:04 sahlberg Exp $
+ * $Id: packet-dcerpc-netlogon.c,v 1.94 2003/10/23 04:57:46 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -5960,7 +5960,7 @@ static int dissect_secchan_bind_creds(tvbuff_t *tvb, int offset,
if (tree) {
item = proto_tree_add_text(
- tree, tvb, offset, tvb_length(tvb),
+ tree, tvb, offset, -1,
"Secure Channel Bind Credentials");
subtree = proto_item_add_subtree(
item, ett_secchan_bind_creds);
@@ -6004,7 +6004,7 @@ static int dissect_secchan_bind_ack_creds(tvbuff_t *tvb, int offset,
if (tree) {
item = proto_tree_add_text(
- tree, tvb, offset, 0,
+ tree, tvb, offset, -1,
"Secure Channel Bind ACK Credentials");
subtree = proto_item_add_subtree(
item, ett_secchan_bind_ack_creds);