aboutsummaryrefslogtreecommitdiffstats
path: root/packet-per.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-07-19 03:45:04 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2003-07-19 03:45:04 +0000
commitebb75f713ed9e96dcf05abb99e72c08fe4f02cd1 (patch)
treec422f99b6132d617aa85228ccf281d63d830d049 /packet-per.c
parent37f5379f270c4213d7f34f807d6671562d195a80 (diff)
Add PrintableString stub. H225 needs this type.
I could not find a definition of which order the characters in the restricted set are encoded in so I could not implement the actual decoding. svn path=/trunk/; revision=8049
Diffstat (limited to 'packet-per.c')
-rw-r--r--packet-per.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/packet-per.c b/packet-per.c
index 364c6762b9..cef78b35b0 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.5 2003/07/16 21:05:12 guy Exp $
+ * $Id: packet-per.c,v 1.6 2003/07/19 03:45:04 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -373,6 +373,15 @@ dissect_per_NumericString(tvbuff_t *tvb, guint32 offset, packet_info *pinfo, pro
return offset;
}
+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);
+*/
+ return offset;
+}
/* this function dissects a constrained sequence of */