From 896737c467cb848e51a9b55b123637c37f8e92a1 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sun, 12 Dec 2004 22:47:24 +0000 Subject: update the helper for BER GeneralizedTime to handle implicit tag and update all dissectors using GeneralizedTime svn path=/trunk/; revision=12732 --- tools/asn2eth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/asn2eth.py b/tools/asn2eth.py index 448308f536..51b1259a47 100644 --- a/tools/asn2eth.py +++ b/tools/asn2eth.py @@ -2787,8 +2787,8 @@ class GeneralizedTime (RestrictedCharacterStringType): def eth_type_fn(self, proto, tname, ectx): if (ectx.Ber()): out = ectx.eth_type_fn_hdr(tname) - body = ectx.eth_fn_call('dissect_ber_generalized_time', ret='offset', - par=(('pinfo', 'tree', 'tvb', 'offset', 'hf_index'),)) + body = ectx.eth_fn_call('dissect_ber_GeneralizedTime', ret='offset', + par=(('implicit_tag', 'pinfo', 'tree', 'tvb', 'offset', 'hf_index'),)) out += ectx.eth_type_fn_body(tname, body) out += ectx.eth_type_fn_ftr(tname) return out -- cgit v1.2.3