This commit is contained in:
Alexey
2026-07-06 20:12:36 +03:00
parent a1ebd44cee
commit b8be805aed
8 changed files with 41 additions and 32 deletions
+1 -2
View File
@@ -199,8 +199,7 @@ pub(super) async fn clear_rules_all_families(
let mut removed = false;
let table = namespace.nft_table.as_str();
for family in [NftFamily::Inet, NftFamily::Ip, NftFamily::Ip6] {
match run_command("nft", &["delete", "table", family.as_str(), table], None).await
{
match run_command("nft", &["delete", "table", family.as_str(), table], None).await {
Ok(()) => {
removed = true;
}