mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-23 04:05:39 +00:00
Revert "Add LocalAddr to complete net.PacketConn interface"
This reverts commit e4ce2c79a9
.
This commit is contained in:
parent
e4ce2c79a9
commit
e224c02d6d
@ -231,7 +231,3 @@ func (c *Core) WriteTo(p []byte, addr net.Addr) (n int, err error) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (c *Core) LocalAddr() net.Addr {
|
||||
return iwt.Addr(c.public)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user