aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-07-08 09:45:26 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2016-07-08 07:48:30 +0000
commit0b5332521c37fec6518f87c6a6c93d147d060c35 (patch)
tree70d1e7062bc479f3b78214e6d9e86d3b155178db
parent330bc0ee1d2a94c1354ad51f40d85148c2aefcef (diff)
p1: Add BuiltInEncodedInformationTypes.telex
This is for completeness. Change-Id: Id89f649aa836dd011f0967cdbdc905916b4d2182 Reviewed-on: https://code.wireshark.org/review/16334 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
-rw-r--r--epan/dissectors/asn1/p1/MTSAbstractService.asn2
-rw-r--r--epan/dissectors/packet-p1.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/asn1/p1/MTSAbstractService.asn b/epan/dissectors/asn1/p1/MTSAbstractService.asn
index 986e198..bde1b95 100644
--- a/epan/dissectors/asn1/p1/MTSAbstractService.asn
+++ b/epan/dissectors/asn1/p1/MTSAbstractService.asn
@@ -2304,7 +2304,7 @@ EncodedInformationTypes ::= [APPLICATION 5] SET {
-- Built-in Encoded Information Types
BuiltInEncodedInformationTypes ::= BIT STRING {
- unknown(0), ia5-text(2), g3-facsimile(3), g4-class-1(4), teletex(5),
+ unknown(0), telex(1), ia5-text(2), g3-facsimile(3), g4-class-1(4), teletex(5),
videotex(6), voice(7), sfd(8), mixed-mode(9)
}(SIZE (0..ub-built-in-encoded-information-types))
diff --git a/epan/dissectors/packet-p1.c b/epan/dissectors/packet-p1.c
index 5fa2f90..855237a 100644
--- a/epan/dissectors/packet-p1.c
+++ b/epan/dissectors/packet-p1.c
@@ -600,6 +600,7 @@ static int hf_p1_PhysicalDeliveryModes_counter_collection_with_telex_advice = -1
static int hf_p1_PhysicalDeliveryModes_counter_collection_with_teletex_advice = -1;
static int hf_p1_PhysicalDeliveryModes_bureau_fax_delivery = -1;
static int hf_p1_BuiltInEncodedInformationTypes_unknown = -1;
+static int hf_p1_BuiltInEncodedInformationTypes_telex = -1;
static int hf_p1_BuiltInEncodedInformationTypes_ia5_text = -1;
static int hf_p1_BuiltInEncodedInformationTypes_g3_facsimile = -1;
static int hf_p1_BuiltInEncodedInformationTypes_g4_class_1 = -1;
@@ -2336,6 +2337,7 @@ dissect_p1_MTAOriginatorName(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int o
static const asn_namedbit BuiltInEncodedInformationTypes_bits[] = {
{ 0, &hf_p1_BuiltInEncodedInformationTypes_unknown, -1, -1, "unknown", NULL },
+ { 1, &hf_p1_BuiltInEncodedInformationTypes_telex, -1, -1, "telex", NULL },
{ 2, &hf_p1_BuiltInEncodedInformationTypes_ia5_text, -1, -1, "ia5-text", NULL },
{ 3, &hf_p1_BuiltInEncodedInformationTypes_g3_facsimile, -1, -1, "g3-facsimile", NULL },
{ 4, &hf_p1_BuiltInEncodedInformationTypes_g4_class_1, -1, -1, "g4-class-1", NULL },
@@ -10753,6 +10755,10 @@ void proto_register_p1(void) {
{ "unknown", "p1.unknown",
FT_BOOLEAN, 8, NULL, 0x80,
NULL, HFILL }},
+ { &hf_p1_BuiltInEncodedInformationTypes_telex,
+ { "telex", "p1.telex",
+ FT_BOOLEAN, 8, NULL, 0x40,
+ NULL, HFILL }},
{ &hf_p1_BuiltInEncodedInformationTypes_ia5_text,
{ "ia5-text", "p1.ia5-text",
FT_BOOLEAN, 8, NULL, 0x20,