fix kcp dial log

pull/215/head
v2ray 2016-06-27 08:38:02 +02:00
parent cf6d36ecd5
commit e9fdc35c3c
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

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