From: phonedph1 Date: Fri, 27 Sep 2024 02:57:49 +0000 (-0600) Subject: start the backend if rest of config is processed X-Git-Tag: rec-5.2.0-alpha1~57^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=466ff9b1952c62e49e86d9ece57c7bc6df1a5017;p=thirdparty%2Fpdns.git start the backend if rest of config is processed --- diff --git a/pdns/dnsdistdist/dnsdist-lua.cc b/pdns/dnsdistdist/dnsdist-lua.cc index 2d939e3c2c..0a0094c68e 100644 --- a/pdns/dnsdistdist/dnsdist-lua.cc +++ b/pdns/dnsdistdist/dnsdist-lua.cc @@ -705,7 +705,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) } if (ret->connected) { - if (!dnsdist::configuration::isImmutableConfigurationDone()) { + if (dnsdist::configuration::isImmutableConfigurationDone()) { ret->start(); } }