diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-06-12 01:34:29 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2004-06-12 01:34:29 +0000 |
commit | 2aaa6a6ca05a8ee168bee7e0ffe4919c34152dcf (patch) | |
tree | 6ab7bd5ef891ecf2b85e20db67055d0adcd96d4b /tools | |
parent | 02e4a25626af1c98a664d3074c40b05fd69d3807 (diff) |
Parameter 8 to dissect_ber_bistring() is the ett_ variable (or -1) and not
a NULL **proto_tree pointer.
Set the ett variable to always be -1 for the time being
svn path=/trunk/; revision=11140
Diffstat (limited to 'tools')
-rw-r--r-- | tools/asn2eth.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/asn2eth.py b/tools/asn2eth.py index e46fbe6b9b..56211d5bf8 100644 --- a/tools/asn2eth.py +++ b/tools/asn2eth.py @@ -5,7 +5,7 @@ # ASN.1 to Ethereal dissector compiler # 2004 Tomas Kukosa # -# $Id: asn2eth.py,v 1.7 2004/06/12 01:21:02 sahlberg Exp $ +# $Id: asn2eth.py,v 1.8 2004/06/12 01:34:29 sahlberg Exp $ # """ASN.1 to Ethereal dissector compiler""" @@ -2312,8 +2312,8 @@ class BitStringType (Type): if (ectx.OBer()): body = ectx.eth_fn_call('dissect_ber_bitstring' + ectx.pvp(), ret='offset', par=(('implicit_tag', 'pinfo', 'tree', 'tvb', 'offset'), - (bitsp, 'hf_index', tree), - ('NULL',))) + (bitsp, 'hf_index', '-1'), + (tree,))) elif (ectx.NPer()): body = ectx.eth_fn_call('dissect_per_bit_string' + ectx.pvp(), ret='offset', par=(('tvb', 'offset', 'pinfo', 'tree'), |