Loading src/tests/tools/firewall_agent/firewall_agent/resources/nft_model/Chain.py +2 −2 Original line number Diff line number Diff line Loading @@ -83,11 +83,11 @@ class Chain: # chains and their removal might cause side effects on NFTables. pass else: #chain_hook = str(self.chain).lower() chain_hook = str(self.chain).lower() parts = [ 'add', 'chain', self.family.value, self.table.value, self.chain, '{', 'type', self.table.value, 'hook', self.chain, 'priority', 'raw', ';', 'type', self.table.value, 'hook', chain_hook, 'priority', 'raw', ';', 'policy', 'accept', ';', '}' ] Loading Loading
src/tests/tools/firewall_agent/firewall_agent/resources/nft_model/Chain.py +2 −2 Original line number Diff line number Diff line Loading @@ -83,11 +83,11 @@ class Chain: # chains and their removal might cause side effects on NFTables. pass else: #chain_hook = str(self.chain).lower() chain_hook = str(self.chain).lower() parts = [ 'add', 'chain', self.family.value, self.table.value, self.chain, '{', 'type', self.table.value, 'hook', self.chain, 'priority', 'raw', ';', 'type', self.table.value, 'hook', chain_hook, 'priority', 'raw', ';', 'policy', 'accept', ';', '}' ] Loading