darcs-hash:20061004233707-f6463-e67f2bfdc56d372dafdd5e3f3705f70fa7e47199.gz
This commit is contained in:
cohen 2006-10-05 01:37:07 +02:00
parent 5c633f4992
commit 43dab28884

View file

@ -40,8 +40,11 @@ def get_trace(mac):
while len(threading.enumerate()) > 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
if __name__ == '__main__':
mac = format_mac(sys.argv[1])