1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-03 06:30:42 +00:00

fix tcp log

This commit is contained in:
Darien Raymond 2016-11-22 08:23:03 +01:00
parent b9dde62ae7
commit e8cde53975
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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