diff options
author | Roopesh Chander <roop@roopc.net> | 2018-10-24 19:01:33 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-10-27 15:13:01 +0530 |
commit | 7316eb06f824662fb47355e889940e15b0f39e43 (patch) | |
tree | 71ad2101e3eb2172f39dabaccb31b67b3c521903 /WireGuard/WireGuard/Model/Configuration.swift | |
parent | VPN: Tunnel container shall provide direct access to the configuration object (diff) | |
download | wireguard-apple-7316eb06f824662fb47355e889940e15b0f39e43.tar.xz wireguard-apple-7316eb06f824662fb47355e889940e15b0f39e43.zip |
Model: MTU should be a 16-bit integer
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/Model/Configuration.swift')
-rw-r--r-- | WireGuard/WireGuard/Model/Configuration.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/Model/Configuration.swift b/WireGuard/WireGuard/Model/Configuration.swift index 3cc59af..8ef93e6 100644 --- a/WireGuard/WireGuard/Model/Configuration.swift +++ b/WireGuard/WireGuard/Model/Configuration.swift @@ -18,7 +18,7 @@ struct InterfaceConfiguration: Codable { var privateKey: Data var addresses: [IPAddressRange] = [] var listenPort: UInt16? = nil - var mtu: UInt64? = nil + var mtu: UInt16? = nil var dns: [DNSServer] = [] var publicKey: Data { |