mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-06-17 06:35:07 +03:00
remove ckr
This commit is contained in:
parent
cd4144f22b
commit
e83b5d08a8
3 changed files with 4 additions and 493 deletions
|
@ -40,7 +40,6 @@ type TunAdapter struct {
|
|||
log *log.Logger
|
||||
addr address.Address
|
||||
subnet address.Subnet
|
||||
ckr cryptokey
|
||||
mtu MTU
|
||||
iface tun.Device
|
||||
phony.Inbox // Currently only used for _handlePacket from the reader, TODO: all the stuff that currently needs a mutex below
|
||||
|
@ -146,7 +145,6 @@ func (tun *TunAdapter) _start() error {
|
|||
}
|
||||
// TODO tun.core.SetMaximumSessionMTU(tun.MTU())
|
||||
tun.isOpen = true
|
||||
tun.ckr.init(tun)
|
||||
go tun.read()
|
||||
go tun.write()
|
||||
return nil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue