diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-08-01 16:45:30 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-08-01 16:45:30 +0000 |
commit | 2f2a8edbd7ceb36e3dd168c0f8700c6babc564b6 (patch) | |
tree | 57be978e7c2ebd0c6178238a13cf0e7eb25bb2df /epan/dissectors/packet-x411.c | |
parent | d255e44bfab095f26a068bbb47efe8aa01f3caa5 (diff) |
Regenerated to use the new decode function for UTCTime.
svn path=/trunk/; revision=25898
Diffstat (limited to 'epan/dissectors/packet-x411.c')
-rw-r--r-- | epan/dissectors/packet-x411.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/epan/dissectors/packet-x411.c b/epan/dissectors/packet-x411.c index ce5f6cd9dd..4a80abcd9a 100644 --- a/epan/dissectors/packet-x411.c +++ b/epan/dissectors/packet-x411.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-x411.c */ -/* ../../tools/asn2wrs.py -b -e -p x411 -c x411.cnf -s packet-x411-template x411.asn */ +/* ../../tools/asn2wrs.py -b -e -p x411 -c ./x411.cnf -s ./packet-x411-template -D . x411.asn */ /* Input file: packet-x411-template.c */ @@ -980,9 +980,7 @@ dissect_x411_Signature(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset static int dissect_x411_UTCTime(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTCTime, - actx, tree, tvb, offset, hf_index, - NULL); + offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index); return offset; } @@ -2416,9 +2414,7 @@ dissect_x411_Time(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, #line 835 "x411.cnf" tvbuff_t *arrival = NULL; - offset = dissect_ber_restricted_string(implicit_tag, BER_UNI_TAG_UTCTime, - actx, tree, tvb, offset, hf_index, - &arrival); + offset = dissect_ber_UTCTime(implicit_tag, actx, tree, tvb, offset, hf_index); if(arrival && doing_address) |