aboutsummaryrefslogtreecommitdiffstats
path: root/tethereal.c
diff options
context:
space:
mode:
authorjfoster <jfoster@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-23 18:44:20 +0000
committerjfoster <jfoster@f5534014-38df-0310-8fa8-9805f1628bb7>2001-03-23 18:44:20 +0000
commitd45a52e662c208280636f26fbaacb636e06a5313 (patch)
tree84f9eb242d2ba381499b3acad8f399fdcfe71233 /tethereal.c
parent7532b676031000214e53cca308d0134686cfc12f (diff)
Added named data sources printing support, written by Guy Harris
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3167 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tethereal.c')
-rw-r--r--tethereal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tethereal.c b/tethereal.c
index 39fc756caa..727a5c484a 100644
--- a/tethereal.c
+++ b/tethereal.c
@@ -1,6 +1,6 @@
/* tethereal.c
*
- * $Id: tethereal.c,v 1.68 2001/02/18 03:38:42 guy Exp $
+ * $Id: tethereal.c,v 1.69 2001/03/23 18:44:20 jfoster Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1256,8 +1256,7 @@ wtap_dispatch_cb_print(u_char *user, const struct wtap_pkthdr *phdr, int offset,
putchar('\n');
}
if (print_hex) {
- print_hex_data(stdout, print_args.format, buf,
- fdata.cap_len, fdata.flags.encoding);
+ print_hex_data(stdout, print_args.format, &fdata);
putchar('\n');
}
fdata.cinfo = NULL;