mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Revert "Add LocalAddr to complete net.PacketConn interface"
This reverts commit e4ce2c79a9
.
This commit is contained in:
parent
e4ce2c79a9
commit
e224c02d6d
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue