From 65f98dfdda97df74a1c3aec3f757d875f7da408c Mon Sep 17 00:00:00 2001 From: root Date: Fri, 9 Sep 2011 15:17:43 +0200 Subject: //census: finish refactoring of census i just forgot about this mess. It is refactored from the original script, using all the pythonic goodness. The arping.py command is a bit tweaked, should be faster now --- census/arping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'census/arping.py') diff --git a/census/arping.py b/census/arping.py index 3245f1ee..3cffa6be 100755 --- a/census/arping.py +++ b/census/arping.py @@ -15,7 +15,7 @@ try: """Arping function takes IP Address or Network, returns nested mac/ip list""" try: conf.verb=0 - ans,unans=arping(iprange,iface=iface,timeout=1,retry=3) + ans,unans=arping(iprange,iface=iface,timeout=0.4,retry=1) collection = [] for snd, rcv in ans: -- cgit v1.2.3