Restart FTL to enforce flushing the cache when dns.piholePTR is changed

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2024-09-26 18:19:27 +02:00
parent cb8e8b0647
commit c2a2df8a77
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -442,7 +442,7 @@ static void initConfig(struct config *conf)
conf->dns.analyzeOnlyAandAAAA.c = validate_stub; // Only type-based checking
conf->dns.piholePTR.k = "dns.piholePTR";
conf->dns.piholePTR.h = "Controls whether and how FTL will reply with for address for which a local interface exists.";
conf->dns.piholePTR.h = "Controls whether and how FTL will reply with for address for which a local interface exists. Changing this setting causes FTL to restart.";
{
struct enum_options piholePTR[] =
{
@@ -455,6 +455,7 @@ static void initConfig(struct config *conf)
}
conf->dns.piholePTR.t = CONF_ENUM_PTR_TYPE;
conf->dns.piholePTR.d.ptr_type = PTR_PIHOLE;
conf->dns.piholePTR.f = FLAG_RESTART_FTL;
conf->dns.piholePTR.c = validate_stub; // Only type-based checking
conf->dns.replyWhenBusy.k = "dns.replyWhenBusy";
+1 -1
View File
@@ -47,7 +47,7 @@
analyzeOnlyAandAAAA = false
# Controls whether and how FTL will reply with for address for which a local interface
# exists.
# exists. Changing this setting causes FTL to restart.
#
# Possible values are:
# - "NONE"