aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-10-09 10:42:54 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-10-09 10:42:54 +0000
commit46ae76bf6cc760abb1e38c668d23530ee109cad4 (patch)
tree28edae848edd9078ce5dac4fb92b966f71319f9f /tools
parent4938502ee0b93fd703cb8649a706456a11457388 (diff)
Always generate packet-*-exp.h.
This fixes a bug when only exporting _PDU objects, and we can have '#include "packet-*-exp.h"' in packet-*-template.h even when having no #.EXPORTS in the conformation file. svn path=/trunk/; revision=39320
Diffstat (limited to 'tools')
-rwxr-xr-xtools/asn2wrs.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py
index 362aacb529..0d3f2fa6bd 100755
--- a/tools/asn2wrs.py
+++ b/tools/asn2wrs.py
@@ -1618,7 +1618,6 @@ class EthCtx:
#--- eth_output_export ------------------------------------------------------
def eth_output_export(self):
- if (not len(self.eth_export_ord)): return
fx = self.output.file_open('exp', ext='h')
for t in self.eth_export_ord: # vals
if (self.eth_type[t]['export'] & EF_ENUM) and self.eth_type[t]['val'].eth_has_enum(t, self):