summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-03-06 18:28:27 +0100
committerTobias Klauser <tklauser@distanz.ch>2018-03-06 18:28:27 +0100
commit0cba196c4e8d02c5d96d9eb945583869afde5d2d (patch)
treeafe99fa0e00b36696cbea274e65b07dce7b26f65 /netsniff-ng.c
parent44ceece354c50795ba04e450b9269e6e3f92dd34 (diff)
trafgen: don't close dev_out and dev_in in parent process
They are opened in main_loop which is only executed in the child(ren), so close them there again. This avoids closing the devices twice, which may lead to segfaults. Fixes #188 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.c')
0 files changed, 0 insertions, 0 deletions