remove ckr

This commit is contained in:
Arceliar 2021-05-15 14:54:25 -05:00
parent cd4144f22b
commit e83b5d08a8
3 changed files with 4 additions and 493 deletions

View file

@ -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