Fix spelling

This commit is contained in:
Viktor Liu 2025-06-17 20:02:52 +02:00
parent 471f90e8db
commit d47c6b624e
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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,

View File

@ -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,