prcision
darcs-hash:20061004233707-f6463-e67f2bfdc56d372dafdd5e3f3705f70fa7e47199.gz
This commit is contained in:
parent
5c633f4992
commit
43dab28884
1 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,10 @@ def get_trace(mac):
|
||||||
while len(threading.enumerate()) > 1 :
|
while len(threading.enumerate()) > 1 :
|
||||||
sleep(1)
|
sleep(1)
|
||||||
|
|
||||||
return '\n'.join(tableau)
|
resultat ='tracage de %s\n' % mac
|
||||||
|
resultat += '\n'.join(tableau)
|
||||||
|
|
||||||
|
return resultat
|
||||||
|
|
||||||
# on interroge les switchs et on fait un whos sur la mac
|
# on interroge les switchs et on fait un whos sur la mac
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue