diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-10-13 17:16:43 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-10-13 17:22:08 +0200 |
commit | 895377c6e96ec8ac853568eb275043741a7621cd (patch) | |
tree | 91a6d5ce3b11ec555d427cdb6d784bfcd78e80e6 /link.c | |
parent | daac1198c011aa122cf52004629dd77b4e99ae7d (diff) |
trafgen: Don't panic() on parser errors
If the C preprocessor is used to parse the packet description, a
temporary file is created which is not deleted if an error occurs during
parsing in compile_packets().
Instead, don't panic() on errors and only print a message, and only
die() once we cleaned up after us.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'link.c')
0 files changed, 0 insertions, 0 deletions