diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-13 21:04:50 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-12-13 21:04:50 +0000 |
commit | ac1b0b43e2dd54ec0de488dbe25466d377e976f5 (patch) | |
tree | 1d19a3501fb948761a9cce5d0ab9b0b9d1eb058e /packet-rpc.c | |
parent | be7d91b51f786c41baf913bb2d5474a4de65146a (diff) | |
download | wireshark-ac1b0b43e2dd54ec0de488dbe25466d377e976f5.tar.gz wireshark-ac1b0b43e2dd54ec0de488dbe25466d377e976f5.tar.bz2 wireshark-ac1b0b43e2dd54ec0de488dbe25466d377e976f5.zip |
Fixed types. The RPC procedure (hf_rpc_procedure) in the logical proto_tree
(but not in the string attached to the GUI proto_tree, because
proto_tree_add_item_format() was being used) was getting filled in with
the value of "prog" instead of "proc".
svn path=/trunk/; revision=1314
Diffstat (limited to 'packet-rpc.c')
-rw-r--r-- | packet-rpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-rpc.c b/packet-rpc.c index 3d72ddb1be..9e318bd10f 100644 --- a/packet-rpc.c +++ b/packet-rpc.c @@ -2,7 +2,7 @@ * Routines for rpc dissection * Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de> * - * $Id: packet-rpc.c,v 1.22 1999/12/10 10:40:54 girlich Exp $ + * $Id: packet-rpc.c,v 1.23 1999/12/13 21:04:50 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@unicom.net> @@ -927,7 +927,7 @@ dissect_rpc( const u_char *pd, int offset, frame_data *fd, proto_tree *tree) } if (rpc_tree) { proto_tree_add_item_format(rpc_tree, - hf_rpc_procedure, offset+12, 4, prog, + hf_rpc_procedure, offset+12, 4, proc, "Procedure: %s (%u)", procname, proc); } @@ -1043,7 +1043,7 @@ dissect_rpc( const u_char *pd, int offset, frame_data *fd, proto_tree *tree) proto_tree_add_item(rpc_tree, hf_rpc_programversion, 0, 0, vers); proto_tree_add_item_format(rpc_tree, - hf_rpc_procedure, 0, 0, prog, + hf_rpc_procedure, 0, 0, proc, "Procedure: %s (%u)", procname, proc); } @@ -1154,7 +1154,7 @@ dissect_rpc_prog: proto_tree_add_item(ptree, hf_rpc_programversion, 0, 0, vers); proto_tree_add_item_format(ptree, - hf_rpc_procedure, 0, 0, prog, + hf_rpc_procedure, 0, 0, proc, "Procedure: %s (%u)", procname, proc); } } |