This commit is contained in:
Quentin McGaw
2026-02-28 22:38:52 +00:00
parent 781e74f77a
commit cd9ba54b37
12 changed files with 570 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
package nftables
import "github.com/google/nftables"
func IsSupported() bool {
conn, err := nftables.New()
if err != nil {
return false
}
_, err = conn.ListTable("filter")
return err == nil
}