Feature: support IPSET rule (#2693)

This commit is contained in:
major1201
2023-04-22 20:07:47 +08:00
committed by GitHub
parent 765982e86a
commit 6eee226965
7 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,17 @@
//go:build !linux
package ipset
import (
"net"
)
// Always return false in non-linux
func Test(setName string, ip net.IP) (bool, error) {
return false, nil
}
// Always pass in non-linux
func Verify(setName string) error {
return nil
}