Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`Conn.AddTable` use netlink.Create which will not emit an error if the table we want to create already existed, just like the `nft add table ...` command works. The caller should use netlink.Excl to get an EEXIST error for that already existed, So I add another method `Conn.CreateTable` which works just like `nft create table ...` command. Related: #245 Signed-off-by: black-desk <me@black-desk.cn>
- Loading branch information