git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3184296
)
Constify "asn_namedbit" structures.
author
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 11 Oct 2004 06:31:23 +0000
(06:31 +0000)
committer
guy
<guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 11 Oct 2004 06:31:23 +0000
(06:31 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12252
f5534014
-38df-0310-8fa8-
9805f1628bb7
tools/asn2eth.py
patch
|
blob
|
history
diff --git
a/tools/asn2eth.py
b/tools/asn2eth.py
index 2835f05e18023364959528b3b21eab99ed39270a..4f961c02fdb6a3cf2a58194e518615c329dcacaa 100644
(file)
--- a/
tools/asn2eth.py
+++ b/
tools/asn2eth.py
@@
-737,7
+737,7
@@
class EthCtx:
#--- eth_bits ---------------------------------------------------------------
def eth_bits(self, tname, bits):
out = ""
- out += "static "
+ out += "static
const
"
out += "asn_namedbit %s_bits[] = {\n" % (tname)
for (val, id) in bits:
out += ' { %2d, &hf_%s_%s_%s, -1, -1, NULL, NULL },\n' % (val, self.eproto, tname, id)