diff --git a/client/internal/routemanager/common/params.go b/client/internal/routemanager/common/params.go index e5875e62e..def18411f 100644 --- a/client/internal/routemanager/common/params.go +++ b/client/internal/routemanager/common/params.go @@ -17,7 +17,7 @@ type HandlerParams struct { Route *route.Route RouteRefCounter *refcounter.RouteRefCounter AllowedIPsRefCounter *refcounter.AllowedIPsRefCounter - DnsRouterInteval time.Duration + DnsRouterInterval time.Duration StatusRecorder *peer.Status WgInterface iface.WGIface DnsServer dns.Server diff --git a/client/internal/routemanager/dynamic/route.go b/client/internal/routemanager/dynamic/route.go index b263e09ef..5d561f0cf 100644 --- a/client/internal/routemanager/dynamic/route.go +++ b/client/internal/routemanager/dynamic/route.go @@ -58,7 +58,7 @@ func NewRoute(params common.HandlerParams, resolverAddr string) *Route { route: params.Route, routeRefCounter: params.RouteRefCounter, allowedIPsRefcounter: params.AllowedIPsRefCounter, - interval: params.DnsRouterInteval, + interval: params.DnsRouterInterval, statusRecorder: params.StatusRecorder, wgInterface: params.WgInterface, resolverAddr: resolverAddr, diff --git a/client/internal/routemanager/manager.go b/client/internal/routemanager/manager.go index 286a282bc..e9a9df405 100644 --- a/client/internal/routemanager/manager.go +++ b/client/internal/routemanager/manager.go @@ -310,7 +310,7 @@ func (m *DefaultManager) updateSystemRoutes(newRoutes route.HAMap) error { Route: route, RouteRefCounter: m.routeRefCounter, AllowedIPsRefCounter: m.allowedIPsRefCounter, - DnsRouterInteval: m.dnsRouteInterval, + DnsRouterInterval: m.dnsRouteInterval, StatusRecorder: m.statusRecorder, WgInterface: m.wgInterface, DnsServer: m.dnsServer,