[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

@@ -11,6 +11,6 @@ import (
"github.com/netbirdio/netbird/iface"
)
func newServerRouter(context.Context, *iface.WGIface, firewall.Manager, *peer.Status) (serverRouter, error) {
func newServerRouter(context.Context, iface.IWGIface, firewall.Manager, *peer.Status) (serverRouter, error) {
return nil, fmt.Errorf("server route not supported on this os")
}