Joyit 1 Minggu lalu
induk
melakukan
f0b698da7d
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      dail.go

+ 2 - 2
dail.go

@@ -22,12 +22,12 @@ func Dail(host *conn.HostInfo, cf *config.Config) (conn conn.Connect, err error)
 	addr := net.JoinHostPort(host.Host, strconv.Itoa(int(host.Port)))
 	if host.Version == ws2.VERSION && (host.Proto == ws2.PROTO || host.Proto == ws2.PROTO_STL) {
 		if cf.PrintMsg {
-			log.Println("[Dail]:", host.Proto, addr, host.Path, host.Hash)
+			log.Println("[Dail]:", host.Url())
 		}
 		conn, err = ws2.Dial(cf, host.Proto, addr, host.Path, host.Hash)
 	} else if host.Version == tcp2.VERSION && host.Proto == tcp2.PROTO {
 		if cf.PrintMsg {
-			log.Println("[Dail]:", host.Proto, addr, host.Hash)
+			log.Println("[Dail]:", host.Url())
 		}
 		conn, err = tcp2.Dial(cf, addr, host.Hash)
 	} else {