cosmetic
This commit is contained in:
1 parent
b2a24d1cbe
commit
fd2a59417d
1 file changed
+1
-2
+1
-2
@@ -38,8 +38,7 @@ type DNSServer struct {
|
|||||||
udpClient *dns.Client
|
udpClient *dns.Client
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewDNSServer(ns *Nameserver, domain string, address string, ttl uint32,
|
func NewDNSServer(ns *Nameserver, domain string, address string, ttl uint32, clientTimeout time.Duration) (*DNSServer, error) {
|
||||||
clientTimeout time.Duration) (*DNSServer, error) {
|
|
||||||
|
|
||||||
s := &DNSServer{
|
s := &DNSServer{
|
||||||
ns: ns,
|
ns: ns,
|
||||||
|
|||||||
Reference in new issue
Block a user