diff --git a/gestion/tools/whokfet.py b/gestion/tools/whokfet.py index ecb1c1ae..eab62191 100755 --- a/gestion/tools/whokfet.py +++ b/gestion/tools/whokfet.py @@ -16,7 +16,7 @@ from subprocess import Popen, PIPE def get_wifi_connected_client(): x=Popen(["ssh","-T", "-i" , "/usr/scripts/gestion/clef-wifi-kfet","-l","root" ,"-x", "-o", "BatchMode=yes", "-o", - "ConnectTimeout=5", "-o", "StrictHostKeyChecking=no","valhalla.wifi", "wl assoclist"], stdout=PIPE) + "ConnectTimeout=5", "-o", "StrictHostKeyChecking=no","valhalla.wifi", "/usr/crans/list_clients.sh"], stdout=PIPE) clients=x.communicate()[0].split("\n") macs=[] for client in clients: