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
|
@ -25,13 +25,13 @@ for m in machines :
|
|||
txt += u'Propriétaire : %s\n' % m.proprietaire().Nom().encode('iso-8859-1')
|
||||
txt += u'Machine : %s\n' % m.nom()
|
||||
if m.portTCPin() :
|
||||
txt += u'ports TCP in : %s\n' % m.portTCPin()
|
||||
txt += u'ports TCP in : %s\n' % ' '.join(m.portTCPin())
|
||||
if m.portTCPout() :
|
||||
txt += u'ports TCP out : %s\n' % m.portTCPout()
|
||||
txt += u'ports TCP out : %s\n' % ' '.join(m.portTCPout())
|
||||
if m.portUDPin() :
|
||||
txt += u'ports UDP in : %s\n' % m.portUDPin()
|
||||
txt += u'ports UDP in : %s\n' % ' '.join(m.portUDPin())
|
||||
if m.portUDPout() :
|
||||
txt += u'ports UDP out : %s\n' % m.portUDPout()
|
||||
txt += u'ports UDP out : %s\n' % ' '.join(m.portUDPout())
|
||||
|
||||
txts.append(txt.strip())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue