diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-02-16 11:04:28 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-02-16 11:04:28 +0000 |
commit | d3051fa55df8ec9d323c5116a14c4dd1b9cf3eab (patch) | |
tree | 9b25213727e5b0d49215c98829fa218e334fdec8 | |
parent | edb9220dee122afe2ee17cd9762591f571f3840d (diff) |
Generate correct type (FT_OID) for "x420.compression_algorithm_id".
I suspect this should have been fixed in asn2wrs...
svn path=/trunk/; revision=35965
-rw-r--r-- | asn1/x420/IPMSFileTransferBodyPartType.asn | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-x420.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/asn1/x420/IPMSFileTransferBodyPartType.asn b/asn1/x420/IPMSFileTransferBodyPartType.asn index e29ddb1e18..d17091d388 100644 --- a/asn1/x420/IPMSFileTransferBodyPartType.asn +++ b/asn1/x420/IPMSFileTransferBodyPartType.asn @@ -143,9 +143,9 @@ COMPRESSION-ALGORITHM ::= TYPE-IDENTIFIER CompressionParameter ::= SEQUENCE { compression-algorithm-id - [0] COMPRESSION-ALGORITHM.&id({CompressionAlgorithmTable}), + [0] TYPE-IDENTIFIER.&id({CompressionAlgorithmTable}), compression-algorithm-param - [1] COMPRESSION-ALGORITHM.&Type + [1] TYPE-IDENTIFIER.&Type ({CompressionAlgorithmTable}{@compression-algorithm-id}) } diff --git a/epan/dissectors/packet-x420.c b/epan/dissectors/packet-x420.c index 24201b1b3f..f07189a128 100644 --- a/epan/dissectors/packet-x420.c +++ b/epan/dissectors/packet-x420.c @@ -5580,7 +5580,7 @@ void proto_register_x420(void) { "GraphicString", HFILL }}, { &hf_x420_compression_algorithm_id, { "compression-algorithm-id", "x420.compression_algorithm_id", - FT_NONE, BASE_NONE, NULL, 0, + FT_OID, BASE_NONE, NULL, 0, NULL, HFILL }}, { &hf_x420_compression_algorithm_param, { "compression-algorithm-param", "x420.compression_algorithm_param", |