zettio/weave#362 - reorganize the DNS server code, so it looks like the mDNS server, with a proper class with Start() and so...
Listen on TCP on port 53 by default
This commit is contained in:
1 parent
e485e68946
commit
3be5600383
3 files changed
+100
-61
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package nameserver
|
||||
|
||||
import (
|
||||
. "github.com/zettio/weave/common"
|
||||
)
|
||||
|
||||
func checkFatal(e error) {
|
||||
if e != nil {
|
||||
Error.Fatal(e)
|
||||
}
|
||||
}
|
||||
|
||||
func checkWarn(e error) {
|
||||
if e != nil {
|
||||
Warning.Println(e)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user