Use specified port for http listener
This commit is contained in:
1 parent
03cd04249c
commit
50d343e2fb
3 files changed
+9
-9
No files matched your search
+1
-1
@@ -103,7 +103,7 @@ func notUsHandler() dns.HandlerFunc {
|
||||
func StartServer(ifaceName string, dnsPort int, httpPort int, wait int) error {
|
||||
|
||||
var zone = new(ZoneDb)
|
||||
go ListenHttp(zone)
|
||||
go ListenHttp(zone, httpPort)
|
||||
|
||||
var iface *net.Interface = nil
|
||||
if ifaceName != "" {
|
||||
|
||||
Reference in new issue
Block a user