aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-06-08 08:50:51 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-06-08 08:50:51 +0000
commit778c54f74a582439714abb6fce6766eca5410afd (patch)
treed90e725c6804ed82b4e546e7bffc90c984551d9f /tethereal.c
parent4362d0ea3a1a53128cf9d5bb60450efeac77136f (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3531 f5534014-38df-0310-8fa8-9805f1628bb7
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,