Fix for Codacy: variable name should be between 3 and 40 characters long (#608)
Tiny fixes for iOS
This commit is contained in:
parent
e402cacc05
commit
9c4ee4014d
2 changed files with 29 additions and 27 deletions
|
@ -175,7 +175,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
|
|||
return
|
||||
}
|
||||
|
||||
guard let wgConfigStr = try? JSONDecoder().decode(WGConfig.self, from: wgConfig).wg,
|
||||
guard let wgConfigStr = try? JSONDecoder().decode(WGConfig.self, from: wgConfig).str,
|
||||
let tunnelConfiguration = try? TunnelConfiguration(fromWgQuickConfig: wgConfigStr)
|
||||
else {
|
||||
wg_log(.error, message: "Can't parse WireGuard config")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue