aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sna.c
diff options
context:
space:
mode:
Diffstat (limited to 'packet-sna.c')
-rw-r--r--packet-sna.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-sna.c b/packet-sna.c
index 4a89e22ddb..e7a8b7c8a7 100644
--- a/packet-sna.c
+++ b/packet-sna.c
@@ -2,7 +2,7 @@
* Routines for SNA
* Gilbert Ramirez <gram@xiexie.org>
*
- * $Id: packet-sna.c,v 1.9 1999/11/16 11:42:57 guy Exp $
+ * $Id: packet-sna.c,v 1.10 1999/11/22 06:24:39 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -309,6 +309,9 @@ dissect_sna(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
guint8 th_fid;
int sna_header_len = 0, th_header_len = 0;
+ /* SNA data should be printed in EBCDIC, not ASCII */
+ fd->encoding = CHAR_EBCDIC;
+
if (IS_DATA_IN_FRAME(offset)) {
/* Transmission Header Format Identifier */
th_fid = hi_nibble(pd[offset]);