diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-04-18 20:27:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-04-18 20:27:42 +0000 |
commit | 30e95d966b67e7be074d9d8e89b08b3616626365 (patch) | |
tree | 084d8e220e3b8765112d0f315fdfc36c2c952b70 /packet-rpc.c | |
parent | 98a6960c4297a4843d349bdab0004ca63fdad477 (diff) | |
download | wireshark-30e95d966b67e7be074d9d8e89b08b3616626365.tar.gz wireshark-30e95d966b67e7be074d9d8e89b08b3616626365.tar.bz2 wireshark-30e95d966b67e7be074d9d8e89b08b3616626365.zip |
Change from Ronnie Sahlberg to add ONC RPC strings to the tree as
strings, with a field index, rather than as text, so they can be
filtered.
svn path=/trunk/; revision=3328
Diffstat (limited to 'packet-rpc.c')
-rw-r--r-- | packet-rpc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-rpc.c b/packet-rpc.c index b1a033389a..6e99670966 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.55 2001/02/09 08:38:13 guy Exp $ + * $Id: packet-rpc.c,v 1.56 2001/04/18 20:27:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -662,7 +662,9 @@ dissect_rpc_opaque_data(tvbuff_t *tvb, int offset, packet_info *pinfo, offset += 4; if (string_tree) - proto_tree_add_text(string_tree, tvb,offset,string_length_copy, + proto_tree_add_string_format(string_tree, hfindex, + tvb, offset, string_length_copy, + string_buffer_print, "contents: %s", string_buffer_print); offset += string_length_copy; if (fill_length) { |