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:
3
nmap.cc
3
nmap.cc
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user