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
This commit is contained in:
Stig Bjørlykke 2011-10-09 10:42:54 +00:00
parent 4938502ee0
commit 46ae76bf6c
1 changed files with 0 additions and 1 deletions

View File

@ -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):