1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-13 01:06:02 -04:00

fix kcp listener

This commit is contained in:
v2ray
2016-08-15 22:20:16 +02:00
parent a5a70afdb8
commit 0bca6e8657
2 changed files with 7 additions and 8 deletions

View File

@@ -104,3 +104,7 @@ func (this *UDPHub) Running() bool {
func (this *UDPHub) Connection() net.Conn {
return this.conn
}
func (this *UDPHub) Addr() net.Addr {
return this.conn.LocalAddr()
}