diff options
author | Natalie Eskinazi <n.l.eskinazi@gmail.com> | 2019-02-19 14:30:28 +0000 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2019-02-21 11:57:11 +0100 |
commit | a77494f610fbe99899ad825fc0a874b8e02c9c51 (patch) | |
tree | 4955432aa10c8d7be4e22991fc84d57592ebcd7a | |
parent | d9b1b05c61091fe5f7b49584f50217aef7ea0a8c (diff) |
[bug] connect to new gateway when manually selected
-rw-r--r-- | pkg/systray/systray.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/systray/systray.go b/pkg/systray/systray.go index c99555c..5ea16c6 100644 --- a/pkg/systray/systray.go +++ b/pkg/systray/systray.go @@ -194,6 +194,8 @@ func (bt *bmTray) addGateways() { bt.activeGateway = &gateway bt.bm.UseGateway(gateway.name) + log.Printf("Manual connection to %s gateway\n", gateway.name) + bt.bm.StartVPN(config.Provider) } }(gateway) } |