Update handling of api listen address override

This commit is contained in:
Daniel
2019-08-02 16:09:13 +02:00
parent edebfbd687
commit d01c619400
3 changed files with 4 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ var (
filterDNSByScope status.SecurityLevelOption
filterDNSByProfile status.SecurityLevelOption
devMode config.BoolOption
apiListenAddress config.StringOption
)
func registerConfig() error {
@@ -56,7 +57,8 @@ func registerConfig() error {
}
filterDNSByProfile = status.ConfigIsActiveConcurrent("firewall/filterDNSByProfile")
devMode = config.Concurrent.GetAsBool("firewall/permanentVerdicts", true)
devMode = config.Concurrent.GetAsBool("firewall/permanentVerdicts", false)
apiListenAddress = config.GetAsString("api/listenAddress", "")
return nil
}