summaryrefslogtreecommitdiff
path: root/packet-yppasswd.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-yppasswd.c')
-rw-r--r--packet-yppasswd.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/packet-yppasswd.c b/packet-yppasswd.c
index d8330b17d2..214d905a60 100644
--- a/packet-yppasswd.c
+++ b/packet-yppasswd.c
@@ -2,7 +2,7 @@
* Routines for yppasswd dissection
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
@@ -54,7 +54,7 @@ dissect_yppasswd_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
proto_item *lock_item = NULL;
proto_tree *lock_tree = NULL;
- offset = dissect_rpc_string_tvb(tvb, pinfo, tree, hf_yppasswd_oldpass,
+ offset = dissect_rpc_string(tvb, pinfo, tree, hf_yppasswd_oldpass,
offset, NULL);
lock_item = proto_tree_add_item(tree, hf_yppasswd_newpw, tvb,
@@ -62,19 +62,19 @@ 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(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_string(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_name, offset, NULL);
- offset = dissect_rpc_string_tvb(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_string(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_passwd, offset, NULL);
- offset = dissect_rpc_uint32_tvb(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_uint32(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_uid, offset);
- offset = dissect_rpc_uint32_tvb(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_uint32(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_gid, offset);
- offset = dissect_rpc_string_tvb(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_string(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_gecos, offset, NULL);
- offset = dissect_rpc_string_tvb(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_string(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_dir, offset, NULL);
- offset = dissect_rpc_string_tvb(tvb, pinfo, lock_tree,
+ offset = dissect_rpc_string(tvb, pinfo, lock_tree,
hf_yppasswd_newpw_shell, offset, NULL);
return offset;
@@ -83,7 +83,7 @@ dissect_yppasswd_call(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree
static int
dissect_yppasswd_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
- offset = dissect_rpc_uint32_tvb(tvb, pinfo, tree, hf_yppasswd_status, offset);
+ offset = dissect_rpc_uint32(tvb, pinfo, tree, hf_yppasswd_status, offset);
return offset;
}