From dee3711dd4892d657a1d892f5d7ca1af9555bba8 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 1 May 2025 13:07:22 +0900 Subject: [PATCH] changed the address variable to print --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 8fbba03..70520eb 100644 --- a/server.go +++ b/server.go @@ -1588,7 +1588,7 @@ func (s *Server) RunCtlTask(wg *sync.WaitGroup) { go func(i int, cs *http.Server) { 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 { // defeat hard-coded "tcp" in ListenAndServe() and ListenAndServeTLS()