diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-05-04 11:11:21 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-05-05 11:26:46 +0200 |
commit | 0102de0e67185a09c39d5b1e1b3c51bc1607144b (patch) | |
tree | b62b69dd0ae9fc4d7ee9ae6c05ea2c7cc512c846 /netsniff-ng.c | |
parent | f2828acdd708eea5ac95542c2258c894ef1cda9b (diff) |
die: Rename *_panic_func to *_panic_handler
Rename xxx_panic_func(s) to xxx_panic_handler(s) which is more
understandable than 'func'.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r-- | netsniff-ng.c | 2 |
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) |