summaryrefslogtreecommitdiff
path: root/netsniff-ng.c
diff options
context:
space:
mode:
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r--netsniff-ng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c
index 9655c59..dfab81a 100644
--- a/netsniff-ng.c
+++ b/netsniff-ng.c
@@ -198,7 +198,7 @@ static inline void setup_rfmon_mac80211_dev(struct ctx *ctx, char **rfmon_dev)
xfree(*rfmon_dev);
enter_rfmon_mac80211(ctx->device_trans, rfmon_dev);
- panic_func_add(on_panic_del_rfmon, *rfmon_dev);
+ panic_handler_add(on_panic_del_rfmon, *rfmon_dev);
}
static void pcap_to_xmit(struct ctx *ctx)