diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-04-20 12:43:08 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-04-21 16:44:15 +0200 |
commit | dce80974dcd2114ebb4a3ed3060d4d636cbb9d1d (patch) | |
tree | 9fc6c6bf864695f06b98dbb3ef4c18d1105604b2 /trafgen | |
parent | 9278bb65e810156ed1074e693fce14e7ecf145e8 (diff) |
netsniff-ng: Delete rfmon mac80211 device in case of panic
netsniff-ng does not delete created rfmon device in case of
panic (for example - bad pcap filter expression), so added ability to
add callback func when panic will be happen and delete rfmon device.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen')
-rw-r--r-- | trafgen/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trafgen/Makefile b/trafgen/Makefile index d395b16..b37e62d 100644 --- a/trafgen/Makefile +++ b/trafgen/Makefile @@ -3,6 +3,7 @@ trafgen-libs = $(shell pkg-config --libs libnl-3.0) \ -lm trafgen-objs = xmalloc.o \ + die.o \ ioops.o \ privs.o \ proc.o \ |