Mock wginterface

This commit is contained in:
Zoltán Papp 2024-07-08 16:15:04 +02:00
parent 48a2f6e69d
commit 75f5b75bc4

View File

@ -11,6 +11,6 @@ import (
"github.com/netbirdio/netbird/iface" "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") return nil, fmt.Errorf("server route not supported on this os")
} }