aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-12-12 22:47:24 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2004-12-12 22:47:24 +0000
commit896737c467cb848e51a9b55b123637c37f8e92a1 (patch)
treea2c666e5cb67e6bfdb8d38c6dc8697762569b191 /tools
parent4490217530292e3557f20d17ff128e2712087670 (diff)
update the helper for BER GeneralizedTime to handle implicit tag and update all dissectors using GeneralizedTime
svn path=/trunk/; revision=12732
Diffstat (limited to 'tools')
-rw-r--r--tools/asn2eth.py4
1 files changed, 2 insertions, 2 deletions
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