diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-21 18:04:44 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-21 18:28:52 +0100 |
| commit | e378d715a02ca749aec3e54f8496a51daea61404 (patch) | |
| tree | 5d371152edb521d0ada4a112a02ebc75de8bc065 /client/server.go | |
| parent | a8e71f7f20a1d5640d08ff637dc209206f536b8d (diff) | |
Failover: Pass logger and add debug statements
Diffstat (limited to 'client/server.go')
| -rw-r--r-- | client/server.go | 2 |
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 } |
