Clean up bsd routes independently of the state file

This commit is contained in:
Viktor Liu
2025-10-23 16:08:10 +02:00
parent d80d47a469
commit bf0698e5aa
9 changed files with 106 additions and 13 deletions

View File

@@ -0,0 +1,8 @@
//go:build !((darwin && !ios) || dragonfly || freebsd || netbsd || openbsd)
package systemops
// FlushMarkedRoutes is a no-op on non-BSD platforms.
func (r *SysOps) FlushMarkedRoutes() error {
return nil
}