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:
Alvaro Saurin committed 2015-02-26 10:51:48 +01:00
1 parent d1400bc233
commit bbd69170f9
5 files changed
+99 -47

No files matched your search

+1 -1
View File
@@ -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