mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
Merge pull request #12 from zhuobixin/master
LocalAddr() should return local address
This commit is contained in:
commit
e4ec9807a2
@ -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
Block a user