summaryrefslogtreecommitdiffhomepage
path: root/src/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.go')
-rw-r--r--src/device.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.go b/src/device.go
index ecffd9e..a1ce802 100644
--- a/src/device.go
+++ b/src/device.go
@@ -136,6 +136,7 @@ func NewDevice(tun TUNDevice, logger *Logger) *Device {
device.log = logger
device.peers = make(map[NoisePublicKey]*Peer)
device.tun.device = tun
+ device.tun.isUp.Set(false)
device.indices.Init()
device.ratelimiter.Init()