Only flush own table with nftables

This commit is contained in:
Alex D. 2024-12-13 15:12:09 +00:00
parent 01699c0545
commit fb48d6c214
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# Required to only replace this table alone
table inet nnd-base;
delete table inet nnd-base;
table inet nnd-base {
include "inet/nnd-base/sets/*";

View File

@ -1,5 +1,3 @@
#!/usr/sbin/nft -f
flush ruleset;
include "*/*/table";