fix kcp dial log

pull/215/head
v2ray 9 years ago
parent cf6d36ecd5
commit e9fdc35c3c
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

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

Loading…
Cancel
Save