mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2026-05-22 13:56:30 +03:00
Revert "Add LocalAddr to complete net.PacketConn interface"
This reverts commit e4ce2c79a9.
This commit is contained in:
@@ -231,7 +231,3 @@ func (c *Core) WriteTo(p []byte, addr net.Addr) (n int, err error) {
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Core) LocalAddr() net.Addr {
|
|
||||||
return iwt.Addr(c.public)
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user