[relay] Replace the iface to interface (#2473)

Replace the iface to interface
This commit is contained in:
Zoltan Papp
2024-08-29 21:31:19 +02:00
committed by GitHub
parent 880b81154f
commit 5ac6f56594
14 changed files with 188 additions and 23 deletions

View File

@@ -49,7 +49,7 @@ type DefaultManager struct {
serverRouter serverRouter
sysOps *systemops.SysOps
statusRecorder *peer.Status
wgInterface *iface.WGIface
wgInterface iface.IWGIface
pubKey string
notifier *notifier.Notifier
routeRefCounter *refcounter.RouteRefCounter
@@ -61,7 +61,7 @@ func NewManager(
ctx context.Context,
pubKey string,
dnsRouteInterval time.Duration,
wgInterface *iface.WGIface,
wgInterface iface.IWGIface,
statusRecorder *peer.Status,
initialRoutes []*route.Route,
) *DefaultManager {