aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2008-01-14 11:21:09 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2008-01-14 11:21:09 +0000
commitb1d62c4418ce06144934ed97cd571953e0cbce19 (patch)
tree659ae2593645e791cfa9439a1badc6d4624185e1
parentb0c8583de761c9ef10a8e6750294f370f6ea12c2 (diff)
use FN_VARIANT parameter in INTEGER type for planned 64bit variants
svn path=/trunk/; revision=24087
-rwxr-xr-xtools/asn2wrs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py
index a2f2d2070b..058a38efe3 100755
--- a/tools/asn2wrs.py
+++ b/tools/asn2wrs.py
@@ -5059,14 +5059,14 @@ class IntegerType (Type):
def eth_type_default_body(self, ectx, tname):
if (ectx.Ber()):
- body = ectx.eth_fn_call('dissect_%(ER)s_integer', ret='offset',
+ body = ectx.eth_fn_call('dissect_%(ER)s_integer%(FN_VARIANT)s', ret='offset',
par=(('%(IMPLICIT_TAG)s', '%(ACTX)s', '%(TREE)s', '%(TVB)s', '%(OFFSET)s', '%(HF_INDEX)s'),
('%(VAL_PTR)s',),))
elif (ectx.Per() and not self.HasValueConstraint()):
- body = ectx.eth_fn_call('dissect_%(ER)s_integer', ret='offset',
+ body = ectx.eth_fn_call('dissect_%(ER)s_integer%(FN_VARIANT)s', ret='offset',
par=(('%(TVB)s', '%(OFFSET)s', '%(ACTX)s', '%(TREE)s', '%(HF_INDEX)s', '%(VAL_PTR)s'),))
elif (ectx.Per() and self.HasValueConstraint()):
- body = ectx.eth_fn_call('dissect_%(ER)s_constrained_integer', ret='offset',
+ body = ectx.eth_fn_call('dissect_%(ER)s_constrained_integer%(FN_VARIANT)s', ret='offset',
par=(('%(TVB)s', '%(OFFSET)s', '%(ACTX)s', '%(TREE)s', '%(HF_INDEX)s'),
('%(MIN_VAL)s', '%(MAX_VAL)s', '%(VAL_PTR)s', '%(EXT)s'),))
else: