grml-network: fix nmap usage for recent nmap versions
authorMichael Prokop <mika@grml.org>
Thu, 8 May 2014 09:41:56 +0000 (11:41 +0200)
committerMichael Prokop <mika@grml.org>
Thu, 8 May 2014 09:41:56 +0000 (11:41 +0200)
commitf2a7156cff28f81b5f74c87cd04a20f22cb5b67c
treee326b014a17cedcfe7ab7957c09f5b3af15b5960
parent710c3125f2a109f744fc13d67cdc9d023059ddbc
grml-network: fix nmap usage for recent nmap versions

The --max_rtt_timeout setting wants us to use 4000ms instead
of 4000:

| % nmap -sP --host_timeout 4000 --max_rtt_timeout 4000 192.168.88.1                                                     :(
| Since April 2010, the default unit for --max-rtt-timeout is seconds, so your time of "4000" is 4000 seconds. Use "4000ms" for 4000 milliseconds.
| QUITTING!

This finally reports correct online/offline status again.
sbin/grml-network