mirror of https://github.com/v2ray/v2ray-core
LocalAddr() should return local address
parent
b610fc0a70
commit
dc906cf68a
|
@ -198,7 +198,7 @@ func (c *udpConn) RemoteAddr() net.Addr {
|
|||
}
|
||||
|
||||
func (c *udpConn) LocalAddr() net.Addr {
|
||||
return c.remote
|
||||
return c.local
|
||||
}
|
||||
|
||||
func (*udpConn) SetDeadline(time.Time) error {
|
||||
|
|
Loading…
Reference in New Issue