summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTomas Kukosa <tomas.kukosa@siemens.com>2007-06-06 08:12:27 +0000
committerTomas Kukosa <tomas.kukosa@siemens.com>2007-06-06 08:12:27 +0000
commit1dcf2aaef02f98c5fd6190a91e6940300c416fe6 (patch)
tree5a51628ac951d038de13d0a8cab037557920ea29 /tools
parentad07451fd182f1b46e0d51e0a173bfa18a96966a (diff)
downloadwireshark-1dcf2aaef02f98c5fd6190a91e6940300c416fe6.tar.gz
use ASN.1 type names in #.FN_BODY (instead of Wireshark type names)
svn path=/trunk/; revision=22054
Diffstat (limited to 'tools')
-rwxr-xr-xtools/asn2wrs.py7
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: