Skip to content

Commit

Permalink
Merge pull request #2264 from MichaIng/fix/migration
Browse files Browse the repository at this point in the history
Fix DNS_BOGUS_PRIV and QUERY_LOGGING migration
  • Loading branch information
DL6ER authored Feb 23, 2025
2 parents 39a852e + 4976f8d commit af775e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/setupVars.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ void importsetupVarsConf(void)
// Try to get bool properties (the first two are intentionally set from the same key)
get_conf_bool_from_setupVars("DNS_FQDN_REQUIRED", &config.dns.domainNeeded);
get_conf_bool_from_setupVars("DNS_FQDN_REQUIRED", &config.dns.expandHosts);
get_conf_bool_from_setupVars("DNS_bogusPriv", &config.dns.bogusPriv);
get_conf_bool_from_setupVars("DNS_BOGUS_PRIV", &config.dns.bogusPriv);
get_conf_bool_from_setupVars("DNSSEC", &config.dns.dnssec);
get_conf_string_from_setupVars("PIHOLE_INTERFACE", &config.dns.interface);
get_conf_string_from_setupVars("HOSTRECORD", &config.dns.hostRecord);
Expand Down Expand Up @@ -599,7 +599,7 @@ void importsetupVarsConf(void)
get_conf_bool_from_setupVars("DHCP_IPv6", &config.dhcp.ipv6);
get_conf_bool_from_setupVars("DHCP_RAPID_COMMIT", &config.dhcp.rapidCommit);

get_conf_bool_from_setupVars("queryLogging", &config.dns.queryLogging);
get_conf_bool_from_setupVars("QUERY_LOGGING", &config.dns.queryLogging);

get_conf_string_from_setupVars("GRAVITY_TMPDIR", &config.files.gravity_tmp);

Expand Down

0 comments on commit af775e5

Please sign in to comment.