two/internal/netif/rule_other.go
2026-10-30 21:49:51 +01:00

16 lines
300 B
Go

//go:build !linux
package netif
import (
"errors"
"net"
)
func RuleAddFrom(_ net.IP, _ *net.IPNet, _, _ int) error {
return errors.New("not supported on this platform")
}
func RuleDelFromIfExists(_ net.IP, _ *net.IPNet, _, _ int) error {
return errors.New("not supported on this platform")
}