diff --git a/nft.go b/nft.go index 2668d85..7caed9b 100644 --- a/nft.go +++ b/nft.go @@ -7,9 +7,15 @@ import ( // NFT A client for working with nftables type NFT interface { // Clear clears all rules. + // + // This command is equivalent to: + // nft flush ruleset Clear() error // AddTable adds a new table. + // + // This command is equivalent to: + // nft add table (ip|ip6|inet|arp|bridge) {name} AddTable(family FamilyType, name string) error }