File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import NetworkExtension
2
2
import os
3
3
4
- // swiftlint:disable function_body_length
4
+ // swiftlint:disable:next function_body_length
5
5
public func convertNetworkSettingsRequest( _ req: Vpn_NetworkSettingsRequest ) -> NEPacketTunnelNetworkSettings {
6
6
let networkSettings = NEPacketTunnelNetworkSettings ( tunnelRemoteAddress: req. tunnelRemoteAddress)
7
7
networkSettings. tunnelOverheadBytes = NSNumber ( value: req. tunnelOverheadBytes)
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Testing
4
4
@Suite ( . timeLimit( . minutes( 1 ) ) )
5
5
struct ConvertTests {
6
6
@Test
7
- // swiftlint:disable function_body_length
7
+ // swiftlint:disable:next function_body_length
8
8
func convertProtoNetworkSettingsRequest( ) async throws {
9
9
let req : Vpn_NetworkSettingsRequest = . with { req in
10
10
req. tunnelRemoteAddress = " 10.0.0.1 "
You can’t perform that action at this time.
0 commit comments