diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-16 08:08:16 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-16 08:08:16 +0100 |
commit | 78fe2cda0572433e40889bcd7d64dd22707bfdd0 (patch) | |
tree | cd4afdcba440e81ebd18992bdb21fa549aacdab4 /src/method_null.c | |
parent | d9ed50094da3890b10872a4955dceb2817931f1f (diff) | |
download | fastd-78fe2cda0572433e40889bcd7d64dd22707bfdd0.tar fastd-78fe2cda0572433e40889bcd7d64dd22707bfdd0.zip |
Move command line parsing to a new file
Diffstat (limited to 'src/method_null.c')
-rw-r--r-- | src/method_null.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/method_null.c b/src/method_null.c index f5a0d74..70c5a09 100644 --- a/src/method_null.c +++ b/src/method_null.c @@ -34,6 +34,10 @@ #include <arpa/inet.h> +static bool method_handle_config(fastd_context *ctx, const fastd_config *conf, const char *option) { + return false; +} + static bool method_check_config(fastd_context *ctx, const fastd_config *conf) { if (conf->n_floating > 1) { pr_error(ctx, "with method `null' use can't define more than one floating peer"); @@ -125,6 +129,7 @@ static void method_free_peer_private(fastd_context *ctx, fastd_peer *peer) { const fastd_method fastd_method_null = { .name = "null", + .handle_config = method_handle_config, .check_config = method_check_config, .max_packet_size = method_max_packet_size, |