Commit ff0f2d41 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Tests - Tools - Firewall Agent:

- Fixed formatting of table and chain rules
parent cc528bc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ class Chain:
                'policy', 'accept', ';',
                '}'
            ]
            commands.append(-1, ' '.join(parts))
            commands.append((-1, ' '.join(parts)))
        for rule in self.rules:
            commands.append(rule.get_command(removal=removal))
        return commands
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ class Table:
            pass
        else:
            parts = ['add', 'table', self.family.value, self.table.value]
            commands.append(-2, ' '.join(parts))
            commands.append((-2, ' '.join(parts)))
        for chain in self.chains.values():
            commands.extend(chain.get_commands(removal=removal))
        return commands