mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-26 08:53:46 +00:00
Merge branch 'fix_firewall_synth' into 'dev'
FIx la synthaxe correcte pour iptables See merge request federez/re2o!239
This commit is contained in:
commit
ddce1892b7
1 changed files with 1 additions and 1 deletions
|
@ -1838,7 +1838,7 @@ class OuverturePort(RevMixin, AclMixin, models.Model):
|
|||
def __str__(self):
|
||||
if self.begin == self.end:
|
||||
return str(self.begin)
|
||||
return '-'.join([str(self.begin), str(self.end)])
|
||||
return ':'.join([str(self.begin), str(self.end)])
|
||||
|
||||
def show_port(self):
|
||||
"""Formatage plus joli, alias pour str"""
|
||||
|
|
Loading…
Reference in a new issue