diff options
author | nneul <nneul@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-15 17:16:51 +0000 |
---|---|---|
committer | nneul <nneul@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-15 17:16:51 +0000 |
commit | 3fa04ee1b11e9d88d0aef24e5a1f110cd7fdcfb9 (patch) | |
tree | a641618b1235d3b0de9f7def50a26094b8f0ee03 /packet-bootparams.c | |
parent | ac4b87ef923527d77630ac8e4ca300434b115807 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1037 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bootparams.c')
-rw-r--r-- | packet-bootparams.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-bootparams.c b/packet-bootparams.c index 9205f840f7..a07b2ca60c 100644 --- a/packet-bootparams.c +++ b/packet-bootparams.c @@ -1,7 +1,7 @@ /* packet-bootparams.c * Routines for bootparams dissection * - * $Id: packet-bootparams.c,v 1.4 1999/11/11 20:18:46 nneul Exp $ + * $Id: packet-bootparams.c,v 1.5 1999/11/15 17:16:50 nneul Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -88,8 +88,8 @@ int dissect_getfile_call(const u_char *pd, int offset, frame_data *fd, { if ( tree ) { - offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_bootparams_host); - offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_bootparams_fileid); + offset = dissect_rpc_string(pd,offset,fd,tree,hf_bootparams_host); + offset = dissect_rpc_string(pd,offset,fd,tree,hf_bootparams_fileid); } return offset; @@ -101,9 +101,9 @@ int dissect_getfile_reply(const u_char *pd, int offset, frame_data *fd, { if ( tree ) { - offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_bootparams_host); + offset = dissect_rpc_string(pd,offset,fd,tree,hf_bootparams_host); offset = dissect_bp_address(pd,offset,fd,tree,hf_bootparams_hostaddr); - offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_bootparams_filepath); + offset = dissect_rpc_string(pd,offset,fd,tree,hf_bootparams_filepath); } return offset; @@ -127,8 +127,8 @@ int dissect_whoami_reply(const u_char *pd, int offset, frame_data *fd, { if ( tree ) { - offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_bootparams_host); - offset = dissect_rpc_string_item(pd,offset,fd,tree,hf_bootparams_domain); + offset = dissect_rpc_string(pd,offset,fd,tree,hf_bootparams_host); + offset = dissect_rpc_string(pd,offset,fd,tree,hf_bootparams_domain); offset = dissect_bp_address(pd,offset,fd,tree,hf_bootparams_routeraddr); } |