From 78fe2cda0572433e40889bcd7d64dd22707bfdd0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 16 Mar 2012 08:08:16 +0100 Subject: Move command line parsing to a new file --- src/method_null.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/method_null.c') 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 +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, -- cgit v1.2.3