diff options
Diffstat (limited to '')
-rw-r--r-- | service/ifaceconfig.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/ifaceconfig.go b/service/ifaceconfig.go index 39eb4b5e..ea28ecdc 100644 --- a/service/ifaceconfig.go +++ b/service/ifaceconfig.go @@ -347,8 +347,7 @@ func enableFirewall(conf *conf.Config, tun *tun.NativeTun) error { } } if restrictAll && len(conf.Interface.DNS) == 0 { - name, _ := tun.Name() - log.Printf("[%s] Warning: no DNS server specified, despite having an allowed IPs of 0.0.0.0/0 or ::/0. There may be connectivity issues.", name) + log.Println("Warning: no DNS server specified, despite having an allowed IPs of 0.0.0.0/0 or ::/0. There may be connectivity issues.") } return firewall.EnableFirewall(tun.LUID(), conf.Interface.DNS, restrictAll) } |