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

This commit is contained in:
2026-02-28 23:13:10 +01:00
parent 1a19a819d8
commit 3d8a448a25

View File

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