Added OPENVPN_VERBOSITY environment variable

This commit is contained in:
Quentin McGaw (desktop)
2020-02-22 15:48:09 +00:00
parent ab5d60754f
commit f45f40eee1
11 changed files with 25 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ const logPrefix = "Mullvad configurator"
// Configurator contains methods to download, read and modify the openvpn configuration to connect as a client
type Configurator interface {
GetOpenVPNConnections(country models.MullvadCountry, city models.MullvadCity, provider models.MullvadProvider, protocol models.NetworkProtocol, customPort uint16) (connections []models.OpenVPNConnection, err error)
BuildConf(connections []models.OpenVPNConnection, uid, gid int) (err error)
BuildConf(connections []models.OpenVPNConnection, verbosity, uid, gid int) (err error)
}
type configurator struct {