Fix zone printing (#1578)

Dont return here, but continue
This commit is contained in:
Miek Gieben
2018-03-01 13:56:19 -08:00
committed by GitHub
parent 50b96fe2ce
commit 36e86231ad

View File

@@ -304,11 +304,11 @@ func (s *Server) OnStartupComplete() {
if err != nil { if err != nil {
// this should not happen, but we need to take care of it anyway // this should not happen, but we need to take care of it anyway
fmt.Println(zone + ":" + s.Addr) fmt.Println(zone + ":" + s.Addr)
return continue
} }
if ip == "" { if ip == "" {
fmt.Println(zone + ":" + port) fmt.Println(zone + ":" + port)
return continue
} }
// if the server is listening on a specific address let's make it visible in the log, // if the server is listening on a specific address let's make it visible in the log,
// so one can differentiate between all active listeners // so one can differentiate between all active listeners