grml-network: Fix obsolete nmap command line options
authorDarshaka Pathirana <dpat@syn-net.org>
Wed, 1 Apr 2020 15:18:38 +0000 (17:18 +0200)
committerDarshaka Pathirana <dpat@syn-net.org>
Wed, 1 Apr 2020 16:00:26 +0000 (18:00 +0200)
commit870cd136ab01194ca24b841a6be2cf2c35081bd7
tree5c1bb8241e0eb5f642a26f4e2e2e28eb50e6657d
parent2d1fa690b62e74070f344295a297c1aec3280f8f
grml-network: Fix obsolete nmap command line options

host_timeout and max_rtt_timeout have been deprecated and undocumented
aliases for host-timeout and max-rtt-timeout.

The options have been removed from nmap in v7.70.
See: https://github.com/nmap/nmap/commit/23d95f5

While at it also use seconds instead of 'ms'. Quoting nmap(1):

  TIMING AND PERFORMANCE:
    Options which take <time> are in seconds, or append 'ms' (milliseconds),
    's' (seconds), 'm' (minutes), or 'h' (hours) to the value (e.g. 30m).

Closes: grml/grml-network#6
sbin/grml-network