revert exported HostDNSConfig

This commit is contained in:
Pascal Fischer
2023-12-06 16:13:31 +01:00
parent f854ec9bb6
commit c88e8139c7
11 changed files with 24 additions and 23 deletions

View File

@@ -39,7 +39,7 @@ func (r *resolvconf) supportCustomPort() bool {
return false
}
func (r *resolvconf) applyDNSConfig(config HostDNSConfig) error {
func (r *resolvconf) applyDNSConfig(config hostDNSConfig) error {
var err error
if !config.routeAll {
err = r.restoreHostDNS()