diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-08-15 13:24:00 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2006-08-15 13:24:00 +0000 |
commit | 55c73aa1d2dfb35a5b8b95e97ca3d862e7b4a6f0 (patch) | |
tree | 0bc92cd0503a06bdf1bd835876ce81b85f8b4d83 /tools | |
parent | 42f51129ff7c12ebbc4043a278b8b34597e19944 (diff) |
filed blurb changed to "proto.WrsType" variant
svn path=/trunk/; revision=18911
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/asn2wrs.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py index ac49ac8c0d..67cf0c6525 100755 --- a/tools/asn2wrs.py +++ b/tools/asn2wrs.py @@ -934,10 +934,8 @@ class EthCtx: if not len(self.eth_hf_ord) and not len(self.eth_hfpdu_ord) and not len(self.named_bit): return fx = self.output.file_open('hfarr') for f in (self.eth_hfpdu_ord + self.eth_hf_ord): - if len(self.eth_hf[f]['ref']) == 1: - blurb = '"' + self.eth_hf[f]['ref'][0] + '"' - else: - blurb = '""' + t = self.eth_hf[f]['ethtype'] + blurb = '"%s.%s"' % (self.eth_type[t]['proto'], t) attr = self.eth_hf[f]['attr'].copy() attr['ABBREV'] = '"%s.%s"' % (self.proto, attr['ABBREV']) if not attr.has_key('BLURB'): |