diff options
Diffstat (limited to 'device/device.go')
-rw-r--r-- | device/device.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/device/device.go b/device/device.go index d18192e..58e996f 100644 --- a/device/device.go +++ b/device/device.go @@ -298,12 +298,7 @@ func (device *Device) SetPrivateKey(sk NoisePrivateKey) error { func NewDevice(tunDevice tun.Device, logger *Logger) *Device { device := new(Device) - - device.isUp.Set(false) - device.isClosed.Set(false) - device.log = logger - device.tun.device = tunDevice mtu, err := device.tun.device.MTU() if err != nil { |