diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-06-06 08:12:27 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2007-06-06 08:12:27 +0000 |
commit | 1dcf2aaef02f98c5fd6190a91e6940300c416fe6 (patch) | |
tree | 5a51628ac951d038de13d0a8cab037557920ea29 /tools | |
parent | ad07451fd182f1b46e0d51e0a173bfa18a96966a (diff) |
use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
svn path=/trunk/; revision=22054
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/asn2wrs.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py index d67d6744a9..1f6b5f7496 100755 --- a/tools/asn2wrs.py +++ b/tools/asn2wrs.py @@ -1336,9 +1336,10 @@ class EthCtx: #--- eth_type_fn_body ------------------------------------------------------- def eth_type_fn_body(self, tname, body, pars=None): out = body - if self.conform.get_fn_body_presence(tname): - out = self.conform.get_fn_text(tname, 'FN_BODY') - elif self.conform.get_fn_body_presence(self.eth_type[tname]['ref'][0]): + #if self.conform.get_fn_body_presence(tname): + # out = self.conform.get_fn_text(tname, 'FN_BODY') + #el + if self.conform.get_fn_body_presence(self.eth_type[tname]['ref'][0]): out = self.conform.get_fn_text(self.eth_type[tname]['ref'][0], 'FN_BODY') if pars: try: |