We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a9eea commit 204673aCopy full SHA for 204673a
core/schains/firewall/nftables.py
@@ -70,7 +70,7 @@ def __init__(self, table: str = TABLE, chain: str = CHAIN) -> None:
70
self.table = table
71
self.chain = chain
72
self._nftables = importlib.import_module('nftables')
73
- self.nft = self._nftables.NFTables()
+ self.nft = self._nftables.Nftables()
74
self.nft.set_json_output(True)
75
76
def _compose_json(self, commands: list[dict]) -> dict:
0 commit comments