diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-26 20:30:05 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-26 20:37:47 +0200 |
commit | 4020ee614cfe248010764028902d80b4a9091f7d (patch) | |
tree | d0bc8cb336401d1d87b60ab66a2595f0294aaddf /src/fastd.c | |
parent | 1ea5ef8944db5da3ff9eeb2d72bcf8a887599925 (diff) | |
download | fastd-4020ee614cfe248010764028902d80b4a9091f7d.tar fastd-4020ee614cfe248010764028902d80b4a9091f7d.zip |
Revise shell command API
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |