zettio/weave#366 - removed reference to DNSServerConfig in the DNSServer struct

This commit is contained in:
Alvaro Saurin committed 2015-02-27 15:40:32 +01:00
1 parent 007873a402
commit 4682f7ed95
1 file changed
-2
-2
View File
@@ -36,7 +36,6 @@ type DNSServerConfig struct {
}
type DNSServer struct {
config *DNSServerConfig
udpSrv *dns.Server
tcpSrv *dns.Server
mdnsCli *MDNSClient
@@ -53,7 +52,6 @@ type DNSServer struct {
// Creates a new DNS server
func NewDNSServer(config DNSServerConfig, zone Zone, iface *net.Interface) (s *DNSServer, err error) {
s = &DNSServer{
config: &config,
zone: zone,
iface: iface,