Split http-startup code from server-startup
This commit is contained in:
1 parent
89fa52818c
commit
bd2844d186
2 files changed
+3
-4
No files matched your search
@@ -98,9 +98,7 @@ func notUsHandler() dns.HandlerFunc {
|
||||
}
|
||||
}
|
||||
|
||||
func StartServer(zone Zone, iface *net.Interface, dnsPort int, httpPort int, wait int) error {
|
||||
go ListenHttp(LOCAL_DOMAIN, zone, httpPort)
|
||||
|
||||
func StartServer(zone Zone, iface *net.Interface, dnsPort int, wait int) error {
|
||||
mdnsClient, err := NewMDNSClient()
|
||||
checkFatal(err)
|
||||
|
||||
|
||||
Reference in new issue
Block a user