aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-10-11 06:31:23 +0000
committerGuy Harris <guy@alum.mit.edu>2004-10-11 06:31:23 +0000
commite409958909c80200e7e229c0fa0ada187aedd160 (patch)
tree07696ca890bf3bf36a52e4c43973ee92f6d2a286 /tools
parente90f317e7792d7b00d07494c011c7ce927f067c9 (diff)
Constify "asn_namedbit" structures.
svn path=/trunk/; revision=12252
Diffstat (limited to 'tools')
-rw-r--r--tools/asn2eth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/asn2eth.py b/tools/asn2eth.py
index 2835f05e18..4f961c02fd 100644
--- 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)