Fixes a vet error.

This commit is contained in:
James Phillips 2017-08-08 16:00:18 -07:00
parent 34de0b9292
commit 7442039c2d
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
}