Feature: support IPSET rule (#2693)
This commit is contained in:
17
component/ipset/ipset_others.go
Normal file
17
component/ipset/ipset_others.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user