From 21e986b0fd5ba05871b5da948baea585d640b606 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 19 Jun 2007 21:39:05 +0000 Subject: [PATCH] merge r4943 from soc07 - fixed a cosmetic bug related to low --host-timout arguments. Bug reported by Chris Drake --- nmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index 2b81591cb..dd1f6ed30 100644 --- a/nmap.cc +++ b/nmap.cc @@ -701,7 +701,7 @@ int nmap_main(int argc, char *argv[]) { if (l <= 1500) fatal("--host-timeout is specified in milliseconds unless you qualify it by appending 's', 'm', 'h', or 'd'. The value must be greater than 1500 milliseconds"); pre_host_timeout = l; if (l < 15000) { - error("host-timeout is given in milliseconds, so you specified less than 15 seconds (%lims). This is allowed but not recommended.", o.host_timeout); + error("host-timeout is given in milliseconds, so you specified less than 15 seconds (%lims). This is allowed but not recommended.", l); } } else if (strcmp(long_options[option_index].name, "ttl") == 0) { o.ttl = atoi(optarg);