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