summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-05-04 11:11:21 +0300
committerTobias Klauser <tklauser@distanz.ch>2015-05-05 11:26:46 +0200
commit0102de0e67185a09c39d5b1e1b3c51bc1607144b (patch)
treeb62b69dd0ae9fc4d7ee9ae6c05ea2c7cc512c846 /trafgen.c
parentf2828acdd708eea5ac95542c2258c894ef1cda9b (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 'trafgen.c')
-rw-r--r--trafgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen.c b/trafgen.c
index 4a9fde5..f981eaf 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -1072,7 +1072,7 @@ int main(int argc, char **argv)
xfree(ctx.device);
enter_rfmon_mac80211(ctx.device_trans, &ctx.device);
- panic_func_add(on_panic_del_rfmon, ctx.device);
+ panic_handler_add(on_panic_del_rfmon, ctx.device);
sleep(0);
}