summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-12-23 12:33:02 +0100
committerAndrej Mihajlov <and@mullvad.net>2020-01-03 11:39:21 +0100
commit39cd1a7386b205a591975a9702fbf397d762a550 (patch)
treec10c4ffd81a643ced6e5ba0211726c8a2972694c
parent3a10abba95512f30df021260c68165bc58a770af (diff)
downloadmullvadvpn-39cd1a7386b205a591975a9702fbf397d762a550.tar.xz
mullvadvpn-39cd1a7386b205a591975a9702fbf397d762a550.zip
Remove debug log
-rw-r--r--ios/PacketTunnel/WireguardDevice.swift7
1 files changed, 2 insertions, 5 deletions
diff --git a/ios/PacketTunnel/WireguardDevice.swift b/ios/PacketTunnel/WireguardDevice.swift
index 62c346b37d..4eea3866f1 100644
--- a/ios/PacketTunnel/WireguardDevice.swift
+++ b/ios/PacketTunnel/WireguardDevice.swift
@@ -238,11 +238,8 @@ class WireguardDevice {
// Ignore empty payloads
guard !commands.isEmpty else { return }
- let rawConfig = commands.toRawWireguardConfigString()
-
- os_log(.info, log: wireguardDeviceLog, "wgSetConfig:\n%{public}s", rawConfig)
-
- _ = rawConfig.withGoString { wgSetConfig(handle, $0) }
+ _ = commands.toRawWireguardConfigString()
+ .withGoString { wgSetConfig(handle, $0) }
}
// MARK: - Network monitoring