This commit is contained in:
@@ -31,7 +31,7 @@ class NftManager:
|
||||
self.nft = Nftables()
|
||||
try:
|
||||
# Prefer JSON output where python-nftables may produce it, but we still treat stdout textually.
|
||||
self.nft.set_json_output(True)
|
||||
self.nft.set_json_output(False)
|
||||
except Exception:
|
||||
logger.debug("set_json_output not available or ignored")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user