Skip to content

Commit 204673a

Browse files
committed
Fix import
1 parent 17a9eea commit 204673a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/schains/firewall/nftables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, table: str = TABLE, chain: str = CHAIN) -> None:
7070
self.table = table
7171
self.chain = chain
7272
self._nftables = importlib.import_module('nftables')
73-
self.nft = self._nftables.NFTables()
73+
self.nft = self._nftables.Nftables()
7474
self.nft.set_json_output(True)
7575

7676
def _compose_json(self, commands: list[dict]) -> dict:

0 commit comments

Comments
 (0)