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 /netsniff-ng/Makefile | |
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 'netsniff-ng/Makefile')
-rw-r--r-- | netsniff-ng/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netsniff-ng/Makefile b/netsniff-ng/Makefile index bc5e032..63bf58f 100644 --- a/netsniff-ng/Makefile +++ b/netsniff-ng/Makefile @@ -63,6 +63,7 @@ netsniff-ng-objs = dissector.o \ tprintf.o \ timer.o \ mac80211.o \ + die.o \ netsniff-ng.o ifeq ($(CONFIG_LIBPCAP), 1) |