diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-07-16 08:17:14 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2003-07-16 08:17:14 +0000 |
commit | 54ab04232862b4352673047f0382af74b0850862 (patch) | |
tree | d2a52ff43788ecca531d16d029de72c63871f701 /packet-per.c | |
parent | f016eab39046eabd797415b06449bf9ac99fbe5e (diff) | |
download | wireshark-54ab04232862b4352673047f0382af74b0850862.tar.gz wireshark-54ab04232862b4352673047f0382af74b0850862.tar.bz2 wireshark-54ab04232862b4352673047f0382af74b0850862.zip |
updates bugfix for the NumericString alphabet.
Implement some restricted ia5strings
svn path=/trunk/; revision=8029
Diffstat (limited to 'packet-per.c')
-rw-r--r-- | packet-per.c | 6 |
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; } |