summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-12-21 18:04:44 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-12-21 18:28:52 +0100
commite378d715a02ca749aec3e54f8496a51daea61404 (patch)
tree5d371152edb521d0ada4a112a02ebc75de8bc065 /client
parenta8e71f7f20a1d5640d08ff637dc209206f536b8d (diff)
Failover: Pass logger and add debug statements
Diffstat (limited to 'client')
-rw-r--r--client/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/server.go b/client/server.go
index 27cb79b..32b7687 100644
--- a/client/server.go
+++ b/client/server.go
@@ -613,7 +613,7 @@ func (c *Client) StartFailover(gateway string, wgMTU int, readRxBytes func() (in
return false, errors.New("Profile does not support OpenVPN fallback")
}
- monitor, monitorErr := failover.New(readRxBytes)
+ monitor, monitorErr := failover.New(readRxBytes, c.Logger)
if monitorErr != nil {
return false, monitorErr
}