2024-03-21 16:49:28 +01:00
|
|
|
//go:build !linux || android
|
2022-09-05 09:06:35 +02:00
|
|
|
|
|
|
|
package routemanager
|
|
|
|
|
|
|
|
import (
|
|
|
|
"runtime"
|
2023-04-17 11:15:37 +02:00
|
|
|
|
|
|
|
log "github.com/sirupsen/logrus"
|
2022-09-05 09:06:35 +02:00
|
|
|
)
|
|
|
|
|
2024-03-21 16:49:28 +01:00
|
|
|
func setupRouting() error {
|
2022-09-05 09:06:35 +02:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2024-03-21 16:49:28 +01:00
|
|
|
func cleanupRouting() error {
|
2022-09-05 09:06:35 +02:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func enableIPForwarding() error {
|
2024-03-21 16:49:28 +01:00
|
|
|
log.Infof("Enable IP forwarding is not implemented on %s", runtime.GOOS)
|
2022-09-05 09:06:35 +02:00
|
|
|
return nil
|
|
|
|
}
|