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

This commit is contained in:
2026-02-28 22:45:32 +01:00
parent c247428bf3
commit 2c3ce6bc86

View File

@@ -102,7 +102,7 @@ class NftManager:
Return parsed JSON (a Python dict/list) for `nft -j list ruleset`. Return parsed JSON (a Python dict/list) for `nft -j list ruleset`.
Handle possible double-encoded outputs by unwrapping. Handle possible double-encoded outputs by unwrapping.
""" """
rc, out, err = self.json_cmd("list ruleset") rc, out, err = self.cmd("list ruleset -j")
if rc != 0: if rc != 0:
raise NftError(f"nft list ruleset failed (json): {err}") raise NftError(f"nft list ruleset failed (json): {err}")
try: try: