aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-10-10 20:38:28 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-10-10 20:38:28 +0000
commit3f7ed7c2a2bcf4e5bdcf759f668758113e833673 (patch)
treeda7b41d82f4240e595096fb9ae475f98b89c7300 /tools
parentb12b8769887e92f3a9e3985ec2e012ee5d860da5 (diff)
Fix problems with bitstring:
- dissect_per_bitstring needs to know if extention exists or not. - Fixes for bitstring sizes up to 16 ( where max = min ). svn path=/trunk/; revision=16181
Diffstat (limited to 'tools')
-rwxr-xr-xtools/asn2eth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/asn2eth.py b/tools/asn2eth.py
index e6fafb14a6..3d4121767a 100755
--- a/tools/asn2eth.py
+++ b/tools/asn2eth.py
@@ -3246,7 +3246,7 @@ class BitStringType (Type):
elif (ectx.OPer()):
body = ectx.eth_fn_call('dissect_%(ER)s_bit_string', ret='offset',
par=(('%(TVB)s', '%(OFFSET)s', '%(PINFO)s', '%(TREE)s', '%(HF_INDEX)s'),
- ('%(MIN_VAL)s', '%(MAX_VAL)s',),))
+ ('%(MIN_VAL)s', '%(MAX_VAL)s','%(EXT)s'),))
else:
body = '#error Can not decode %s' % (tname)
return body