mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
(broken state) WIP, compiles and passes the netns ping test
This commit is contained in:
parent
b345806e3f
commit
8bed79370b
5 changed files with 32 additions and 28 deletions
|
@ -70,7 +70,7 @@ func (k *keyStore) sendToAddress(addr address.Address, bs []byte) {
|
|||
delete(k.addrBuffer, addr)
|
||||
}
|
||||
})
|
||||
panic("TODO") // TODO send lookup
|
||||
k.tun.sendKeyLookup(addr.GetKey())
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@ func (k *keyStore) sendToSubnet(subnet address.Subnet, bs []byte) {
|
|||
delete(k.subnetBuffer, subnet)
|
||||
}
|
||||
})
|
||||
panic("TODO") // TODO send lookup
|
||||
k.tun.sendKeyLookup(subnet.GetKey())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue