diff options
author | girlich <girlich@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-03 13:24:13 +0000 |
---|---|---|
committer | girlich <girlich@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-03 13:24:13 +0000 |
commit | f43ced4dea75b5285ee9502c865ea52f1fca1b1c (patch) | |
tree | 6be846e703c823a55cac0a1175540549331dca30 /packet-yppasswd.c | |
parent | 45fe072b56f59daf9cf56a728cbedecc4f15540e (diff) |
Removed many senseless pinfo parameters in RPC dissection and the layers above.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5090 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-yppasswd.c')
-rw-r--r-- | packet-yppasswd.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/packet-yppasswd.c b/packet-yppasswd.c index b7a20b2b94..d3826953e1 100644 --- a/packet-yppasswd.c +++ b/packet-yppasswd.c @@ -1,7 +1,7 @@ /* packet-yppasswd.c * Routines for yppasswd dissection * - * $Id: packet-yppasswd.c,v 1.5 2002/01/24 09:20:54 guy Exp $ + * $Id: packet-yppasswd.c,v 1.6 2002/04/03 13:24:13 girlich Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -51,12 +51,12 @@ static gint ett_yppasswd = -1; static gint ett_yppasswd_newpw = -1; static int -dissect_yppasswd_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_yppasswd_call(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { proto_item *lock_item = NULL; proto_tree *lock_tree = NULL; - offset = dissect_rpc_string(tvb, pinfo, tree, hf_yppasswd_oldpass, + offset = dissect_rpc_string(tvb, tree, hf_yppasswd_oldpass, offset, NULL); lock_item = proto_tree_add_item(tree, hf_yppasswd_newpw, tvb, @@ -64,28 +64,28 @@ dissect_yppasswd_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree lock_tree = proto_item_add_subtree(lock_item, ett_yppasswd_newpw); - offset = dissect_rpc_string(tvb, pinfo, lock_tree, + offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_name, offset, NULL); - offset = dissect_rpc_string(tvb, pinfo, lock_tree, + offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_passwd, offset, NULL); - offset = dissect_rpc_uint32(tvb, pinfo, lock_tree, + offset = dissect_rpc_uint32(tvb, lock_tree, hf_yppasswd_newpw_uid, offset); - offset = dissect_rpc_uint32(tvb, pinfo, lock_tree, + offset = dissect_rpc_uint32(tvb, lock_tree, hf_yppasswd_newpw_gid, offset); - offset = dissect_rpc_string(tvb, pinfo, lock_tree, + offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_gecos, offset, NULL); - offset = dissect_rpc_string(tvb, pinfo, lock_tree, + offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_dir, offset, NULL); - offset = dissect_rpc_string(tvb, pinfo, lock_tree, + offset = dissect_rpc_string(tvb, lock_tree, hf_yppasswd_newpw_shell, offset, NULL); return offset; } static int -dissect_yppasswd_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_yppasswd_reply(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { - offset = dissect_rpc_uint32(tvb, pinfo, tree, hf_yppasswd_status, offset); + offset = dissect_rpc_uint32(tvb, tree, hf_yppasswd_status, offset); return offset; } |