aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2004-06-12 01:34:29 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2004-06-12 01:34:29 +0000
commit2d4f9860715e20a5e3dfea3bf73652b8eacaa65f (patch)
tree6ab7bd5ef891ecf2b85e20db67055d0adcd96d4b /tools
parentb6bd0ae1cb65f0d5ed7f0f77b7f7efec22c66df7 (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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11140 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rw-r--r--tools/asn2eth.py6
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'),