aboutsummaryrefslogtreecommitdiff
path: root/environment.go
diff options
context:
space:
mode:
Diffstat (limited to 'environment.go')
-rw-r--r--environment.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/environment.go b/environment.go
index 1068ea9..1a0aef5 100644
--- a/environment.go
+++ b/environment.go
@@ -34,7 +34,7 @@ const (
keyDebug = "debug"
keyFileResolvConf = "file.resolvconf"
keyName = "name"
- keyUrl = "url"
+ keyURL = `url`
keyCachePruneDelay = "cache.prune_delay"
keyCachePruneThreshold = "cache.prune_threshold"
@@ -248,7 +248,7 @@ func (env *Environment) save(file string) (in *ini.Ini, err error) {
for _, hb = range env.HostBlockd {
in.Set(sectionNameBlockd, hb.Name, keyName, hb.Name)
- in.Set(sectionNameBlockd, hb.Name, keyUrl, hb.URL)
+ in.Set(sectionNameBlockd, hb.Name, keyURL, hb.URL)
}
in.UnsetAll(sectionNameDNS, subNameServer, keyParent)