aboutsummaryrefslogtreecommitdiffstats
path: root/packet-h245.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-h245.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-h245.c')
-rw-r--r--packet-h245.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/packet-h245.c b/packet-h245.c
index a32d5fa293..e3b8fbdc42 100644
--- a/packet-h245.c
+++ b/packet-h245.c
@@ -92,7 +92,7 @@ All in all a lot of work.
* with great support with testing and providing capturefiles
* from Martin Regner
*
- * $Id: packet-h245.c,v 1.18 2003/07/13 01:43:33 sahlberg Exp $
+ * $Id: packet-h245.c,v 1.19 2003/07/16 08:17:14 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -133,6 +133,8 @@ static dissector_handle_t MultimediaSystemControlMessage_handle;
static int proto_h245 = -1;
static int hf_h245_pdu_type = -1;
static int hf_h245_DialingInformationNumber_networkAddress = -1;
+static int hf_h245_signalType = -1;
+static int hf_h245_e164Address = -1;
static int hf_h245_subAddress = -1;
static int hf_h245_domainBased = -1;
static int hf_h245_internationalNumber = -1;
@@ -17955,7 +17957,8 @@ dissect_h245_FunctionNotUnderstood(tvbuff_t *tvb, int offset, packet_info *pinfo
static int
dissect_h245_signalType(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
-NOT_DECODED_YET("signalType");
+ offset=dissect_per_restricted_character_string(tvb, offset, pinfo, tree, hf_h245_signalType, 1, 128, "0123456789#*ABCD!", 17);
+
return offset;
}
@@ -18092,7 +18095,8 @@ dissect_h245_Q2931Address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t
static int
dissect_h245_e164Address(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree)
{
-NOT_DECODED_YET("e164Address");
+ offset=dissect_per_restricted_character_string(tvb, offset, pinfo, tree, hf_h245_e164Address, 1, 128, "0123456789#*,", 13);
+
return offset;
}
@@ -21754,6 +21758,12 @@ proto_register_h245(void)
{ &hf_h245_subAddress,
{ "subAddress", "h245.subAddress", FT_STRING, FT_NONE,
NULL, 0, "String for subAddress", HFILL }},
+ { &hf_h245_e164Address,
+ { "e164Address", "h245.e164Address", FT_STRING, FT_NONE,
+ NULL, 0, "String for e164Address", HFILL }},
+ { &hf_h245_signalType,
+ { "signalType", "h245.signalType", FT_STRING, FT_NONE,
+ NULL, 0, "String for signalType", HFILL }},
{ &hf_h245_DialingInformationNumber_networkAddress,
{ "networkAddress", "h245.DialingInformationNumber_networkAddress", FT_STRING, FT_NONE,
NULL, 0, "String for DialingInformationNumber_networkAddress", HFILL }},