aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
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