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