summaryrefslogtreecommitdiffhomepage
path: root/src/device.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.go')
-rw-r--r--src/device.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.go b/src/device.go
index 2a2ad62..a26cc7b 100644
--- a/src/device.go
+++ b/src/device.go
@@ -64,7 +64,7 @@ func NewDevice(tun TUNDevice, logLevel int) *Device {
defer device.mutex.Unlock()
device.log = NewLogger(logLevel)
- device.mtu = tun.MTU()
+ // device.mtu = tun.MTU()
device.peers = make(map[NoisePublicKey]*Peer)
device.indices.Init()
device.ratelimiter.Init()