Maint: split custom config files in openvpn/custom

This commit is contained in:
Quentin McGaw (desktop)
2021-08-18 20:18:49 +00:00
parent 996942af47
commit df51aa40f4
10 changed files with 624 additions and 562 deletions

View File

@@ -37,7 +37,7 @@ func (l *Loop) Run(ctx context.Context, done chan<- struct{}) {
lines = providerConf.BuildConf(connection, openVPNSettings)
}
} else {
lines, connection, err = custom.ProcessCustomConfig(openVPNSettings)
lines, connection, err = custom.BuildConfig(openVPNSettings)
}
if err != nil {
l.crashed(ctx, err)