aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ypserv.c
diff options
context:
space:
mode:
authorNathan Neulinger <nneul@umr.edu>1999-11-15 17:16:51 +0000
committerNathan Neulinger <nneul@umr.edu>1999-11-15 17:16:51 +0000
commit498cde407af47fd8853a5be1027a1ad617e885af (patch)
treea641618b1235d3b0de9f7def50a26094b8f0ee03 /packet-ypserv.c
parentbde3be6fc6cddf6750311d53435e8e6ba3f9f8e6 (diff)
Got rid of dissect_rpc_string routine, renamed dissect_rpc_string_item to
dissect_rpc_string. Replaced only instance of this routine being called. Added display filtering to rpc dissector. Replaced most instances of proto_tree_add_text with proto_tree_add_item. Added program version and procedure to the program tree in addition to it being in the RPC tree. svn path=/trunk/; revision=1037
Diffstat (limited to 'packet-ypserv.c')
-rw-r--r--packet-ypserv.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/packet-ypserv.c b/packet-ypserv.c
index 03d2fc439b..15b414972b 100644
--- a/packet-ypserv.c
+++ b/packet-ypserv.c
@@ -1,7 +1,7 @@
/* packet-ypserv.c
* Routines for ypserv dissection
*
- * $Id: packet-ypserv.c,v 1.4 1999/11/12 15:12:23 nneul Exp $
+ * $Id: packet-ypserv.c,v 1.5 1999/11/15 17:16:51 nneul Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -51,7 +51,7 @@ int dissect_domain_call(const u_char *pd, int offset, frame_data *fd,
{
if ( tree )
{
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_domain);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_domain);
}
return offset;
@@ -78,9 +78,9 @@ int dissect_next_call(const u_char *pd, int offset, frame_data *fd,
{
if ( tree )
{
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_domain);
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_map);
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_key);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_domain);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_map);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_key);
}
return offset;
@@ -91,8 +91,8 @@ int dissect_first_call(const u_char *pd, int offset, frame_data *fd,
{
if ( tree )
{
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_domain);
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_map);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_domain);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_map);
}
return offset;
@@ -103,9 +103,9 @@ int dissect_match_call(const u_char *pd, int offset, frame_data *fd,
{
if ( tree )
{
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_domain);
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_map);
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_key);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_domain);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_map);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_key);
}
return offset;
@@ -122,7 +122,7 @@ int dissect_match_reply(const u_char *pd, int offset, frame_data *fd,
offset, 4, pntohl(&pd[offset]));
offset += 4;
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_value);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_value);
}
return offset;
@@ -139,8 +139,8 @@ int dissect_firstnext_reply(const u_char *pd, int offset, frame_data *fd,
offset, 4, pntohl(&pd[offset]));
offset += 4;
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_value);
- offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_ypserv_key); }
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_value);
+ offset = dissect_rpc_string(pd,offset,fd,tree,hf_ypserv_key); }
return offset;
}