Maint: remove routing configurator from Openvpn Loop

This commit is contained in:
Quentin McGaw (desktop)
2021-07-26 16:18:35 +00:00
parent 10b270f742
commit 73c383fd65
2 changed files with 7 additions and 11 deletions

View File

@@ -322,7 +322,7 @@ func _main(ctx context.Context, buildInfo models.BuildInformation,
otherGroupHandler := goshutdown.NewGroupHandler("other", defaultGroupSettings)
openvpnLooper := openvpn.NewLoop(allSettings.OpenVPN, nonRootUsername, puid, pgid, allServers,
ovpnConf, firewallConf, routingConf, logger, httpClient, tunnelReadyCh)
ovpnConf, firewallConf, logger, httpClient, tunnelReadyCh)
openvpnHandler, openvpnCtx, openvpnDone := goshutdown.NewGoRoutineHandler(
"openvpn", goshutdown.GoRoutineSettings{Timeout: time.Second})
// wait for restartOpenvpn