From 2190d635c1bb7d917c16b543b78d74a4ca9a735d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 27 Mar 2012 19:01:58 +0200 Subject: Fix NULL dereference on null protocol initialization --- src/protocol_null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol_null.c b/src/protocol_null.c index 71957e2..b22e03e 100644 --- a/src/protocol_null.c +++ b/src/protocol_null.c @@ -35,7 +35,7 @@ static void protocol_init(fastd_context *ctx, fastd_config *conf) { - if (ctx->conf->n_floating > 1) + if (conf->n_floating > 1) exit_error(ctx, "with protocol `null' use can't define more than one floating peer"); } -- cgit v1.2.3