Retain unhandled mtu/mssfix lines in stripped
This commit is contained in:
parent
c7639daf0d
commit
73e09fefb1
|
@ -245,6 +245,9 @@ extension TunnelKitProvider.Configuration {
|
||||||
Regex.externalFiles.enumerateArguments(in: line) { (_) in
|
Regex.externalFiles.enumerateArguments(in: line) { (_) in
|
||||||
unsupportedError = ApplicationError.unsupportedConfiguration(option: "external file: \"\(line)\"")
|
unsupportedError = ApplicationError.unsupportedConfiguration(option: "external file: \"\(line)\"")
|
||||||
}
|
}
|
||||||
|
if line.contains("mtu") || line.contains("mssfix") {
|
||||||
|
isHandled = true
|
||||||
|
}
|
||||||
|
|
||||||
if let error = unsupportedError {
|
if let error = unsupportedError {
|
||||||
throw error
|
throw error
|
||||||
|
|
Loading…
Reference in New Issue