소스 검색

fix kcp dial log

v2ray 9 년 전
부모
커밋
e9fdc35c3c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      transport/internet/kcp/dialer.go

+ 1 - 1
transport/internet/kcp/dialer.go

@@ -15,8 +15,8 @@ var (
 )
 
 func DialKCP(src v2net.Address, dest v2net.Destination) (internet.Connection, error) {
-	log.Info("Dialling KCP to ", dest)
 	udpDest := v2net.UDPDestination(dest.Address(), dest.Port())
+	log.Info("Dialling KCP to ", udpDest)
 	conn, err := internet.DialToDest(src, udpDest)
 	if err != nil {
 		return nil, err