diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-02-21 18:44:25 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-02-21 18:48:42 +0100 |
commit | 064f4eddf1facae6eb50a7d928c6b049ee4231bf (patch) | |
tree | c7c6a813b231043c84e9a9d42db9b85ebadf4489 /trafgen.c | |
parent | 1c2d641fc0a17d98b65709309e113e29d8834d9c (diff) |
netsniff-ng: Exit gracefully for all possible termination signals
Handle all termination signals that we're allowed to handle (SIGKILL
can't be handled) in order to exit gracefully in any regular termination
case. Without this fix, pcap files written by netsniff-ng might be
corrupted.
Reported-by: Mike Westmacott <mikewestmacott@googlemail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.c')
0 files changed, 0 insertions, 0 deletions