diff options
author | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-01-05 07:09:06 +0000 |
---|---|---|
committer | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-01-05 07:09:06 +0000 |
commit | 98e78ee2043e4da2ab64d8b20188d1ecca4634fd (patch) | |
tree | f0bf434988b98ef3c2852a0bcc316001164bcd9c /tools | |
parent | f743e864cb5da4f82a3705e3b2c2c49a257ad2ab (diff) |
Fixed value string names in field array when NO_PROT_PREFIX option is used
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12949 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/asn2eth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/asn2eth.py b/tools/asn2eth.py index 79c0f9d9eb..381bb765d5 100644 --- a/tools/asn2eth.py +++ b/tools/asn2eth.py @@ -555,14 +555,14 @@ class EthCtx: 'attr' : {}, 'ref' : [t]} self.eth_type[nm]['attr'].update(self.conform.use_item('ETYPE_ATTR', nm)) - if self.type[t]['attr'].get('STRINGS') == '$$': - self.eth_type[nm]['attr']['STRINGS'] = 'VALS(%s)' % (self.eth_vals_nm(nm)) self.type[t]['ethname'] = nm if (not self.eth_type[nm]['export'] and self.type[t]['export']): # new export self.eth_export_ord.append(nm) self.eth_type[nm]['export'] |= self.type[t]['export'] self.eth_type[nm]['user_def'] &= self.type[t]['user_def'] self.eth_type[nm]['no_emit'] &= self.type[t]['no_emit'] + if self.type[t]['attr'].get('STRINGS') == '$$': + self.eth_type[nm]['attr']['STRINGS'] = 'VALS(%s)' % (self.eth_vals_nm(nm)) for t in self.eth_type_ord: bits = self.eth_type[t]['val'].eth_named_bits() if (bits): |