summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-02-27 21:23:19 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-02-27 21:23:19 +0100
commite5415f2b024119a8f32879db10976336d56ae1bc (patch)
tree2df9ead3364e02ffe3a57b2a937f1588638aac70 /src/fastd.c
parent69452cb695453da66cca82e3cff31348efcacce9 (diff)
downloadfastd-e5415f2b024119a8f32879db10976336d56ae1bc.tar
fastd-e5415f2b024119a8f32879db10976336d56ae1bc.zip
Allow temporary peers when no other floating or dynamic peers are configured
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
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) {