summaryrefslogtreecommitdiff
path: root/bpfc
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-04-20 12:43:08 +0300
committerTobias Klauser <tklauser@distanz.ch>2015-04-21 16:44:15 +0200
commitdce80974dcd2114ebb4a3ed3060d4d636cbb9d1d (patch)
tree9fc6c6bf864695f06b98dbb3ef4c18d1105604b2 /bpfc
parent9278bb65e810156ed1074e693fce14e7ecf145e8 (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 'bpfc')
-rw-r--r--bpfc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/bpfc/Makefile b/bpfc/Makefile
index 5c8b8c9..b8a3787 100644
--- a/bpfc/Makefile
+++ b/bpfc/Makefile
@@ -5,6 +5,7 @@ bpfc-objs = xmalloc.o \
bpf.o \
bpf_lexer.yy.o \
bpf_parser.tab.o \
+ die.o \
bpfc.o
bpfc-lex = bpf_lexer.yy.o