summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am2
-rwxr-xr-xtools/asn2wrs.py (renamed from tools/asn2eth.py)1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 3275733ede..db222971a8 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -67,7 +67,7 @@ EXTRA_DIST = \
$(PIDL_FILES) \
EtherealXML.py \
Makefile.nmake \
- asn2eth.py \
+ asn2wrs.py \
cvsdiff-fix.py \
dfilter-test.py \
fuzz-test.sh \
diff --git a/tools/asn2eth.py b/tools/asn2wrs.py
index dd2351c49c..3bda1f51f4 100755
--- a/tools/asn2eth.py
+++ b/tools/asn2wrs.py
@@ -2853,6 +2853,7 @@ class EnumeratedType (Type):
return pars
def eth_type_default_table(self, ectx, tname):
+ if (not ectx.Per()): return ''
map_table = self.get_vals_etc(ectx)[3]
if (map_table == None): return ''
table = "static guint32 %(TABLE)s[%(ROOT_NUM)s+%(EXT_NUM)s] = {"