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:
parent
4938502ee0
commit
46ae76bf6c
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue