diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-02-27 21:23:19 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-02-27 21:23:19 +0100 |
commit | e5415f2b024119a8f32879db10976336d56ae1bc (patch) | |
tree | 2df9ead3364e02ffe3a57b2a937f1588638aac70 /src | |
parent | 69452cb695453da66cca82e3cff31348efcacce9 (diff) | |
download | fastd-e5415f2b024119a8f32879db10976336d56ae1bc.tar fastd-e5415f2b024119a8f32879db10976336d56ae1bc.zip |
Allow temporary peers when no other floating or dynamic peers are configured
Diffstat (limited to 'src')
-rw-r--r-- | src/fastd.c | 2 |
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) { |