port(TCP|UDP)(in|out) est dsormais une liste. Je ferai le changement de
syntaxe dans le schma au prochain dump/restauration de la base. darcs-hash:20060327003949-68412-6475d4ba6f2cf144789a90915fd72e1df374910e.gz
This commit is contained in:
parent
0626631ac9
commit
9e10f8584c
5 changed files with 32 additions and 43 deletions
|
@ -593,14 +593,14 @@ def machine_details(machine) :
|
|||
f += '\n'
|
||||
|
||||
# Ports spéciaux
|
||||
if machine.portTCPin() :
|
||||
f += coul(u'Ports TCP ouvert ext->machine : ','gras') + machine.portTCPin() + '\n'
|
||||
if machine.portTCPout() :
|
||||
f += coul(u'Ports TCP ouvert machine->ext : ','gras') + machine.portTCPout() + '\n'
|
||||
if machine.portTCPin() :
|
||||
f += coul(u'Ports UDP ouvert ext->machine : ','gras') + machine.portUDPin() + '\n'
|
||||
if machine.portUDPout() :
|
||||
f += coul(u'Ports UDP ouvert machine->ext : ','gras') + machine.portUDPout() + '\n'
|
||||
if machine.portTCPin():
|
||||
f += coul(u'Ports TCP ouvert ext->machine : ','gras') + ' '.join(machine.portTCPin()) + '\n'
|
||||
if machine.portTCPout():
|
||||
f += coul(u'Ports TCP ouvert machine->ext : ','gras') + ' '.join(machine.portTCPout()) + '\n'
|
||||
if machine.portTCPin():
|
||||
f += coul(u'Ports UDP ouvert ext->machine : ','gras') + ' '.join(machine.portUDPin()) + '\n'
|
||||
if machine.portUDPout():
|
||||
f += coul(u'Ports UDP ouvert machine->ext : ','gras') + ' '.join(machine.portUDPout()) + '\n'
|
||||
|
||||
# Exemption d'upload
|
||||
if machine.exempt() :
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue