Skip to content

Commit

Permalink
Fix for vet
Browse files Browse the repository at this point in the history
  • Loading branch information
wweir committed Mar 20, 2019
1 parent 559c5fd commit d35115b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dns/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ func dynamicSetUpstreamDNS(listenIP string, dnsServer *string, dhcpCh <-chan str
Id: dns.Id(),
RecursionDesired: false,
},
Question: []dns.Question{{addr, dns.TypeA, dns.ClassINET}},
Question: []dns.Question{{
Name: addr,
Qtype: dns.TypeA,
Qclass: dns.ClassINET,
}},
}

for {
Expand Down

0 comments on commit d35115b

Please sign in to comment.