mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 16:54:16 +01:00
0f0c7ec2ed
In case the route management feature is not supported then do not create unnecessary firewall and manager instances. This can happen if the nftables nor iptables is not available on the host OS. - Move the error handling to upper layer - Remove fake, useless implementations of interfaces - Update go-iptables because In Docker the old version can not determine well the path of executable file - update lib to 0.70
13 lines
236 B
Go
13 lines
236 B
Go
package routemanager
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
|
|
"github.com/netbirdio/netbird/iface"
|
|
)
|
|
|
|
func newServerRouter(context.Context, *iface.WGIface) (serverRouter, error) {
|
|
return nil, fmt.Errorf("server route not supported on this os")
|
|
}
|