diff options
author | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-07-03 07:03:57 +0000 |
---|---|---|
committer | kukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-07-03 07:03:57 +0000 |
commit | 16654e4e89fa7d3d2394e6ce0c494f531c7ff1b8 (patch) | |
tree | 538e8d1a3a712692153e340587d312ed2a43feda /tools/asn2wrs.py | |
parent | 896b2b006e27f586a529df66ce631e8c2d294103 (diff) |
remove name field from per_sequence_t structure, it can be retrieved from field information
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18637 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools/asn2wrs.py')
-rwxr-xr-x | tools/asn2wrs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py index 4990cd3e28..6774a80b68 100755 --- a/tools/asn2wrs.py +++ b/tools/asn2wrs.py @@ -2377,8 +2377,8 @@ class SqType (Type): out = ' { %-13s, %s, %s, dissect_%s },\n' \ % (tc, tn, opt, efd) elif (ectx.Per()): - out = ' { %-24s, %-24s, %-23s, %-17s, dissect_%s_%s },\n' \ - % ('"'+(val.name or '')+'"', '&'+ectx.eth_hf[ef]['fullname'], ext, opt, ectx.eth_type[t]['proto'], t) + out = ' { %-24s, %-23s, %-17s, dissect_%s_%s },\n' \ + % ('&'+ectx.eth_hf[ef]['fullname'], ext, opt, ectx.eth_type[t]['proto'], t) else: out = '' return out @@ -2403,7 +2403,7 @@ class SeqType (SqType): if (ectx.Ber()): table += " { 0, 0, 0, NULL }\n};\n" else: - table += " { NULL, NULL, 0, 0, NULL }\n};\n" + table += " { NULL, 0, 0, NULL }\n};\n" return table #--- SeqOfType ----------------------------------------------------------- |