mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
remove unused variable
This commit is contained in:
parent
e9fdc35c3c
commit
5ee87404fd
@ -1,7 +1,6 @@
|
||||
package kcp
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"math/rand"
|
||||
"net"
|
||||
|
||||
@ -10,10 +9,6 @@ import (
|
||||
"github.com/v2ray/v2ray-core/transport/internet"
|
||||
)
|
||||
|
||||
var (
|
||||
ErrUnknownDestination = errors.New("Destination IP can't be resolved.")
|
||||
)
|
||||
|
||||
func DialKCP(src v2net.Address, dest v2net.Destination) (internet.Connection, error) {
|
||||
udpDest := v2net.UDPDestination(dest.Address(), dest.Port())
|
||||
log.Info("Dialling KCP to ", udpDest)
|
||||
|
Loading…
Reference in New Issue
Block a user