1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Change default output mode to show TTL info with --reason directly (no need of --reason -v). Also, remove TTL column and move TTL info to REASON column. See http://seclists.org/nmap-dev/2014/q3/289 for discussion on this

This commit is contained in:
jay
2014-08-15 14:07:25 +00:00
parent 8d5ec9e310
commit 05772dd1e5
4 changed files with 15 additions and 19 deletions

View File

@@ -1465,9 +1465,6 @@ void apply_delayed_options() {
if (o.verbose > 1)
o.reason = true;
if (o.verbose && o.reason)
o.show_ttl = true;
// ISO 8601 date/time -- http://www.cl.cam.ac.uk/~mgk25/iso-time.html
if (strftime(tbuf, sizeof(tbuf), "%Y-%m-%d %H:%M %Z", local_time) <= 0)
fatal("Unable to properly format time");