changed the address variable to print
This commit is contained in:
parent
be864129dc
commit
dee3711dd4
@ -1588,7 +1588,7 @@ func (s *Server) RunCtlTask(wg *sync.WaitGroup) {
|
|||||||
go func(i int, cs *http.Server) {
|
go func(i int, cs *http.Server) {
|
||||||
var l net.Listener
|
var l net.Listener
|
||||||
|
|
||||||
s.log.Write("", LOG_INFO, "Control channel[%d] started on %s", i, s.Cfg.CtlAddrs[i])
|
s.log.Write("", LOG_INFO, "Control channel[%d] started on %s", i, cs.Addr)
|
||||||
|
|
||||||
if s.stop_req.Load() == false {
|
if s.stop_req.Load() == false {
|
||||||
// defeat hard-coded "tcp" in ListenAndServe() and ListenAndServeTLS()
|
// defeat hard-coded "tcp" in ListenAndServe() and ListenAndServeTLS()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user