From e378d715a02ca749aec3e54f8496a51daea61404 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 21 Dec 2022 18:04:44 +0100 Subject: Failover: Pass logger and add debug statements --- client/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') 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 } -- cgit v1.2.3