summaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.go')
-rw-r--r--client/client.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/client/client.go b/client/client.go
index e5a39c0..e8fc02c 100644
--- a/client/client.go
+++ b/client/client.go
@@ -49,9 +49,6 @@ type Client struct {
// cfg is the config
cfg *config.Config
- // proxy is proxyguard
- proxy Proxy
-
mu sync.Mutex
discoMan *discovery.Manager
@@ -557,11 +554,6 @@ func (c *Client) retrieveTokens(sid string, t srvtypes.Type) (*eduoauth.Token, e
// Cleanup cleans up the VPN connection by sending a /disconnect
func (c *Client) Cleanup(ck *cookie.Cookie) error {
defer c.TrySave()
- // cleanup proxyguard
- cerr := c.proxy.Cancel()
- if cerr != nil {
- log.Logger.Debugf("ProxyGuard cancel gave an error: %v", cerr)
- }
srv, err := c.Servers.CurrentServer()
if err != nil {
return i18nerr.WrapInternal(err, "The current server was not found when cleaning up the connection")