Fixes a vet error.

This commit is contained in:
James Phillips 2017-08-08 16:00:18 -07:00
parent bc05457fd9
commit 7b4d3d5576
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ func (d *DNSServer) nameservers(edns bool) (ns []dns.RR, extra []dns.RR) {
for name, addr := range d.agent.delegate.ServerAddrs() {
host, _, err := net.SplitHostPort(addr)
if err != nil {
d.logger.Println("[WARN] Unable to parse address %v, got error: %v", addr, err)
d.logger.Printf("[WARN] Unable to parse address %v, got error: %v", addr, err)
continue
}