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

This commit is contained in:
2026-02-28 23:08:27 +01:00
parent 32b1d0947f
commit 5bd8d86f0d

View File

@@ -708,7 +708,7 @@ def list_rules():
try:
try:
nft_json = mgr.list_rules_json()
nft_text = mgr.list_rules_text().replace("\r", "").replace("\t", "").replace("\n", "")
nft_text = mgr.list_rules_text().replace("\r", "").replace("\t", "").replace("\n", " ")
logger.error("Successfully obtained nft JSON ruleset, but also got textual output: %r", nft_text)
except NftError as e:
logger.debug("could not obtain nft JSON ruleset: %s", e)