aboutsummaryrefslogtreecommitdiffstats
path: root/packet-per.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-29 07:25:14 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-29 07:25:14 +0000
commit8faf6c627e297743751d6390508ce3d63f5907ea (patch)
tree9193465822164ab68219ea211847f0cde6608437 /packet-per.c
parent5e1d6b889be1b8354d57f129f1db8c732b883d47 (diff)
update to PER to decode PrintableString properly
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8089 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-per.c')
-rw-r--r--packet-per.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/packet-per.c b/packet-per.c
index cef78b35b0..d8439746f7 100644
--- a/packet-per.c
+++ b/packet-per.c
@@ -7,7 +7,7 @@ proper helper routines
* Routines for dissection of ASN.1 Aligned PER
* 2003 Ronnie Sahlberg
*
- * $Id: packet-per.c,v 1.6 2003/07/19 03:45:04 sahlberg Exp $
+ * $Id: packet-per.c,v 1.7 2003/07/29 07:25:14 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -376,10 +376,7 @@ dissect_per_NumericString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, pro
guint32
dissect_per_PrintableString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index _U_, int min_len _U_, int max_len _U_)
{
-NOT_DECODED_YET("PrintableString");
-/*
- offset=dissect_per_restricted_character_string(tvb, offset, pinfo, tree, hf_index, min_len, max_len, " 0123456789", 11);
-*/
+ offset=dissect_per_restricted_character_string(tvb, offset, pinfo, tree, hf_index, min_len, max_len, " '()+,-.*0123456789:=?ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", 74);
return offset;
}