From 4020ee614cfe248010764028902d80b4a9091f7d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 26 Apr 2014 20:30:05 +0200 Subject: Revise shell command API --- src/fastd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/fastd.c') diff --git a/src/fastd.c b/src/fastd.c index c9f03f0..2b08a7e 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -276,19 +276,19 @@ void fastd_handle_receive(fastd_peer_t *peer, fastd_buffer_t buffer) { } static inline void on_pre_up(void) { - fastd_shell_command_exec(&conf.on_pre_up, NULL, NULL, NULL); + fastd_shell_command_exec(&conf.on_pre_up, NULL); } static inline void on_up(void) { - fastd_shell_command_exec(&conf.on_up, NULL, NULL, NULL); + fastd_shell_command_exec(&conf.on_up, NULL); } static inline void on_down(void) { - fastd_shell_command_exec(&conf.on_down, NULL, NULL, NULL); + fastd_shell_command_exec(&conf.on_down, NULL); } static inline void on_post_down(void) { - fastd_shell_command_exec(&conf.on_post_down, NULL, NULL, NULL); + fastd_shell_command_exec(&conf.on_post_down, NULL); } static fastd_peer_group_t* init_peer_group(const fastd_peer_group_config_t *config, fastd_peer_group_t *parent) { -- cgit v1.2.3