16 lines
300 B
Go
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")
|
|
}
|