Fix regexes to warn about compression

By not including the potential argument in the pattern:

- comp-lzo *always* raises a warning
- compress *never* raises a warning
This commit is contained in:
Davide De Rosa 2018-11-02 00:03:31 +01:00
parent af870e2a84
commit 4870e2233d
1 changed files with 2 additions and 2 deletions

View File

@ -53,9 +53,9 @@ extension TunnelKitProvider.Configuration {
static let auth = Utils.regex("^auth +[\\w\\-]+")
static let compLZO = Utils.regex("^comp-lzo")
static let compLZO = Utils.regex("^comp-lzo.*")
static let compress = Utils.regex("^compress")
static let compress = Utils.regex("^compress.*")
static let ping = Utils.regex("^ping +\\d+")