mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 19:43:57 +01:00
3875c29f6b
This reverts commit 9f32ccd453
.
34 lines
623 B
Go
34 lines
623 B
Go
package routemanager
|
|
|
|
import (
|
|
"net"
|
|
"net/netip"
|
|
"runtime"
|
|
|
|
log "github.com/sirupsen/logrus"
|
|
|
|
"github.com/netbirdio/netbird/client/internal/peer"
|
|
"github.com/netbirdio/netbird/iface"
|
|
)
|
|
|
|
func setupRouting([]net.IP, *iface.WGIface) (peer.BeforeAddPeerHookFunc, peer.AfterRemovePeerHookFunc, error) {
|
|
return nil, nil, nil
|
|
}
|
|
|
|
func cleanupRouting() error {
|
|
return nil
|
|
}
|
|
|
|
func enableIPForwarding() error {
|
|
log.Infof("Enable IP forwarding is not implemented on %s", runtime.GOOS)
|
|
return nil
|
|
}
|
|
|
|
func addVPNRoute(netip.Prefix, string) error {
|
|
return nil
|
|
}
|
|
|
|
func removeVPNRoute(netip.Prefix, string) error {
|
|
return nil
|
|
}
|