From e5415f2b024119a8f32879db10976336d56ae1bc Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 27 Feb 2013 21:23:19 +0100 Subject: Allow temporary peers when no other floating or dynamic peers are configured --- src/fastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastd.c b/src/fastd.c index 5b0316f..f6a65e4 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -828,7 +828,7 @@ static void handle_socket(fastd_context_t *ctx, fastd_socket_t *sock) { fastd_buffer_free(buffer); } } - else if(ctx->conf->n_floating || ctx->conf->n_dynamic || + else if(ctx->conf->n_floating || ctx->conf->n_dynamic || ctx->conf->on_verify || (recvaddr.sa.sa_family == AF_INET && ctx->conf->n_dynamic_v4) || (recvaddr.sa.sa_family == AF_INET6 && ctx->conf->n_dynamic_v6)) { switch (*packet_type) { -- cgit v1.2.3