소스 검색

fix tcp log

Darien Raymond 9 년 전
부모
커밋
e8cde53975
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      transport/internet/tcp/dialer.go

+ 2 - 2
transport/internet/tcp/dialer.go

@@ -16,7 +16,7 @@ var (
 )
 
 func Dial(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error) {
-	log.Info("Dailing TCP to ", dest)
+	log.Info("Internet|TCP: Dailing TCP to ", dest)
 	if src == nil {
 		src = v2net.AnyIP
 	}
@@ -68,7 +68,7 @@ func Dial(src v2net.Address, dest v2net.Destination, options internet.DialerOpti
 }
 
 func DialRaw(src v2net.Address, dest v2net.Destination, options internet.DialerOptions) (internet.Connection, error) {
-	log.Info("Dailing Raw TCP to ", dest)
+	log.Info("Internet|TCP: Dailing Raw TCP to ", dest)
 	conn, err := internet.DialToDest(src, dest)
 	if err != nil {
 		return nil, err