Oubli de modification du nom de chaîne pour le parefeu v4

This commit is contained in:
Pierre-Elliott Bécue 2015-07-01 11:50:43 +02:00
parent 7ab4485d54
commit 607c1b8855

View file

@ -152,7 +152,7 @@ class firewall(base.firewall_routeur):
return chain
def limit_ssh_connexion(self, table=None, apply=False, ttl=120, counter_name="SSH"):
chain = 'LIMIT-SSH-CONNEXION'
chain = 'LIMIT-%s-CONNEXION' % (counter_name,)
if table == 'filter':
pretty_print(table, chain)