mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Add an admin socket
This commit is contained in:
parent
502ab3cfaa
commit
b754d68068
6 changed files with 92 additions and 15 deletions
|
@ -150,7 +150,7 @@ func (r *router) sendPacket(bs []byte) {
|
|||
}
|
||||
|
||||
func (r *router) recvPacket(bs []byte, theirAddr *address, theirSubnet *subnet) {
|
||||
// TODO? move this into the session?
|
||||
// TODO? move this into the session?
|
||||
//fmt.Println("Recv packet")
|
||||
if len(bs) < 24 {
|
||||
util_putBytes(bs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue