16 lines
288 B
Go
16 lines
288 B
Go
//go:build !linux
|
|
|
|
package netif
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
func RuleAddFrom(_ net.IP, _, _ int, _ bool) error {
|
|
return errors.New("not supported on this platform")
|
|
}
|
|
|
|
func RuleDelFromIfExists(_ net.IP, _, _ int, _ bool) error {
|
|
return errors.New("not supported on this platform")
|
|
}
|