diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-08-06 08:49:17 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-08-06 08:49:17 +0000 |
commit | cf69e4c354b825b21d49e48828f28e8940dab82e (patch) | |
tree | 92e10517ba143ad8496ccad5d3dcbe2baea62a1b /packet-smb-pipe.c | |
parent | 95056acbbaabf72fa524d7487008d6001be570ba (diff) | |
download | wireshark-cf69e4c354b825b21d49e48828f28e8940dab82e.tar.gz wireshark-cf69e4c354b825b21d49e48828f28e8940dab82e.tar.bz2 wireshark-cf69e4c354b825b21d49e48828f28e8940dab82e.zip |
Fix up the check for an unlimited amount of storage.
Fix up the code to add the "milliseconds since some point in the past"
field in a NETREMOTETOD response to the tree.
svn path=/trunk/; revision=3830
Diffstat (limited to 'packet-smb-pipe.c')
-rw-r--r-- | packet-smb-pipe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c index 27ff7c79c8..78f057f1c8 100644 --- a/packet-smb-pipe.c +++ b/packet-smb-pipe.c @@ -9,7 +9,7 @@ XXX Fixme : shouldnt show [malformed frame] for long packets * significant rewrite to tvbuffify the dissector, Ronnie Sahlberg and * Guy Harris 2001 * - * $Id: packet-smb-pipe.c,v 1.26 2001/08/06 00:59:14 guy Exp $ + * $Id: packet-smb-pipe.c,v 1.27 2001/08/06 08:49:17 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -669,7 +669,7 @@ netusergetinfo_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, /* max storage */ max_storage = tvb_get_letohl(tvb, offset); - if (nlogons == 0xffffffff) + if (max_storage == 0xffffffff) proto_tree_add_uint_format(tree, hf_max_storage, tvb, offset, 4, max_storage, "Max Storage: No limit"); else @@ -726,7 +726,7 @@ netremotetod_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, offset += 4; /* msecs since arbitrary point in the past */ - timeval.tv_usec = tvb_get_letohl(tvb, offset); + proto_tree_add_item(tree, hf_msecs, tvb, offset, 4, TRUE); offset += 4; /* hour */ |