test
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-02-28 22:25:56 +01:00
parent c3079f3744
commit 80352da7fd

View File

@@ -64,7 +64,7 @@ class NftManager:
res = self.nft.json_cmd("list ruleset") res = self.nft.json_cmd("list ruleset")
if res[0] != 0: if res[0] != 0:
raise NftError(f"nft list ruleset failed: {res[2]}") raise NftError(f"nft list ruleset failed: {res[2]}")
return res[1] return json.loads(res[1])
def list_chain_text(self, family: str, table: str, chain: str) -> str: def list_chain_text(self, family: str, table: str, chain: str) -> str:
""" """