aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-06-08 08:50:51 +0000
committerGuy Harris <guy@alum.mit.edu>2001-06-08 08:50:51 +0000
commit2da9bb269610cd399b161fb521a53a21a9a967a8 (patch)
treed90e725c6804ed82b4e546e7bffc90c984551d9f /tethereal.c
parent14c9f7464a698c13c73a1b255f127c2d08fe431a (diff)
downloadwireshark-2da9bb269610cd399b161fb521a53a21a9a967a8.tar.gz
wireshark-2da9bb269610cd399b161fb521a53a21a9a967a8.tar.bz2
wireshark-2da9bb269610cd399b161fb521a53a21a9a967a8.zip
When printing the contents of a raw-data field, don't use the raw data
of the current frame as the source, use the raw data of the tvbuff that's the data source of that field. svn path=/trunk/; revision=3531
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tethereal.c b/tethereal.c
index ba0b089831..ff6722c75f 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.85 2001/06/08 06:27:16 guy Exp $
+ * $Id: tethereal.c,v 1.86 2001/06/08 08:50:49 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1169,7 +1169,7 @@ wtap_dispatch_cb_print(u_char *user, const struct wtap_pkthdr *phdr, int offset,
print_args.print_hex = print_hex;
print_args.expand_all = TRUE;
proto_tree_print(FALSE, &print_args, (GNode *)protocol_tree,
- buf, &fdata, stdout);
+ &fdata, stdout);
if (!print_hex) {
/* "print_hex_data()" will put out a leading blank line, as well
as a trailing one; print one here, to separate the packets,