summaryrefslogtreecommitdiffstats
path: root/census/arping.py
diff options
context:
space:
mode:
authorroot <root@krebs>2011-09-09 15:17:43 +0200
committerroot <root@krebs>2011-09-09 15:17:43 +0200
commit65f98dfdda97df74a1c3aec3f757d875f7da408c (patch)
tree71f520b73cfe1ceb97595638e08afcb141c909e8 /census/arping.py
parentaad509b71f5a268e5b40f2b803b6d6fd4894bfbb (diff)
//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
Diffstat (limited to 'census/arping.py')
-rwxr-xr-xcensus/arping.py2
1 files changed, 1 insertions, 1 deletions
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: