zettio/weave#366 - improved configuration for th DNSServer, where we can specify the local domain name among other things... (missing some unit tests for this customized local domain)
This commit is contained in:
1 parent
d1400bc233
commit
bbd69170f9
5 files changed
+99
-47
No files matched your search
@@ -44,7 +44,7 @@ func TestServerSimpleQuery(t *testing.T) {
|
||||
|
||||
mdnsServer, err := NewMDNSServer(zone)
|
||||
wt.AssertNoErr(t, err)
|
||||
err = mdnsServer.Start(nil)
|
||||
err = mdnsServer.Start(nil, DEFAULT_LOCAL_DOMAIN)
|
||||
wt.AssertNoErr(t, err)
|
||||
|
||||
var receivedAddr net.IP
|
||||
|
||||
Reference in new issue
Block a user