On ajoute un who4J
This commit is contained in:
parent
e4857523d0
commit
a800a65793
1 changed files with 15 additions and 7 deletions
|
@ -212,11 +212,19 @@ class WhoDAlembert(WhosThere):
|
|||
def do_scan(self):
|
||||
self.populate_from_ap('danae')
|
||||
|
||||
class Who4J(WhosThere):
|
||||
name = u"4J"
|
||||
def do_scan(self):
|
||||
self.set_ignore_inactive(True, wifi_only=True)
|
||||
self.populate_from_switch('batj-3.adm.crans.org', 7)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
where = {
|
||||
'dalembert': WhoDAlembert,
|
||||
'2b': Who2B,
|
||||
'kfet': WhoKfet,
|
||||
'4j': Who4J,
|
||||
}
|
||||
for what in sys.argv[1:]:
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue