diff options
Diffstat (limited to 'environment.go')
| -rw-r--r-- | environment.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/environment.go b/environment.go index 7206aed..1068ea9 100644 --- a/environment.go +++ b/environment.go @@ -75,8 +75,8 @@ type Environment struct { HostBlockd map[string]*Blockd `ini:"block.d"` hostBlockdFile map[string]*dns.HostsFile - HostsFiles map[string]*dns.HostsFile - Zones map[string]*dns.Zone + hostsd map[string]*dns.HostsFile + zoned map[string]*dns.Zone // The options for WUI HTTP server. HttpdOptions *libhttp.ServerOptions `json:"-"` @@ -115,8 +115,8 @@ func LoadEnvironment(dirBase, fileConfig string) (env *Environment, err error) { // newEnvironment create and initialize options with default values. func newEnvironment(dirBase, fileConfig string) *Environment { return &Environment{ - HostsFiles: make(map[string]*dns.HostsFile), - Zones: make(map[string]*dns.Zone), + hostsd: make(map[string]*dns.HostsFile), + zoned: make(map[string]*dns.Zone), dirBase: dirBase, pathDirBlock: filepath.Join(dirBase, dirBlock), |
