aboutsummaryrefslogtreecommitdiffstats
path: root/packet-per.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-16 08:17:14 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2003-07-16 08:17:14 +0000
commit3b2be7381d8621c934a16d5d25b8458116d234b1 (patch)
treed2a52ff43788ecca531d16d029de72c63871f701 /packet-per.c
parent43f93ea9e341bfd20be9cee1fbb66e9b8f1213ea (diff)
updates bugfix for the NumericString alphabet.
Implement some restricted ia5strings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8029 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-per.c')
-rw-r--r--packet-per.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-per.c b/packet-per.c
index d7c38fa3ef..25d9ed2d00 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.2 2003/07/13 01:43:33 sahlberg Exp $
+ * $Id: packet-per.c,v 1.3 2003/07/16 08:17:14 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -263,7 +263,7 @@ dissect_per_IA5String(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_t
}
/* XXX we dont do >64k length strings yet */
-static guint32
+guint32
dissect_per_restricted_character_string(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len, char *alphabet, int alphabet_length)
{
guint32 length;
@@ -368,7 +368,7 @@ DEBUG_ENTRY("dissect_per_restricted_character_string");
guint32
dissect_per_NumericString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, proto_tree *tree, int hf_index, int min_len, int max_len)
{
- 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", 11);
return offset;
}