1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-20 13:19:01 +00:00

Fix spelling in some identifiers. wierd_responses -> weird_responses,

printStatsIfNeccessary -> printStatsIfNecessary.
This commit is contained in:
david
2008-12-04 17:04:48 +00:00
parent 88143d667b
commit c561222685
10 changed files with 22 additions and 22 deletions

View File

@@ -1358,21 +1358,21 @@ void write_host_status(Target *currenths, int resolve_all) {
write_xml_initial_hostinfo(currenths, "unknown");
}
else if (currenths->wierd_responses) { /* SMURF ADDRESS */
else if (currenths->weird_responses) { /* SMURF ADDRESS */
/* Write xml "down" or "up" based on flags and the smurf info */
write_xml_initial_hostinfo(currenths,
(currenths->flags & HOST_UP)? "up" : "down");
log_write(LOG_XML, "<smurf responses=\"%d\" />\n",
currenths->wierd_responses);
log_write(LOG_MACHINE,"Host: %s (%s)\tStatus: Smurf (%d responses)\n", currenths->targetipstr(), currenths->HostName(), currenths->wierd_responses);
currenths->weird_responses);
log_write(LOG_MACHINE,"Host: %s (%s)\tStatus: Smurf (%d responses)\n", currenths->targetipstr(), currenths->HostName(), currenths->weird_responses);
if (o.pingscan)
log_write(LOG_PLAIN,"Host %s seems to be a subnet broadcast address (returned %d extra pings).%s\n", currenths->NameIP(hostname, sizeof(hostname)), currenths->wierd_responses,
log_write(LOG_PLAIN,"Host %s seems to be a subnet broadcast address (returned %d extra pings).%s\n", currenths->NameIP(hostname, sizeof(hostname)), currenths->weird_responses,
(currenths->flags & HOST_UP)? " Note -- the actual IP also responded." : "");
else {
log_write(LOG_PLAIN,"Host %s seems to be a subnet broadcast address (returned %d extra pings). %s.\n",
currenths->NameIP(hostname, sizeof(hostname)),
currenths->wierd_responses,
currenths->weird_responses,
(currenths->flags & HOST_UP)?
" Still scanning it due to ping response from its own IP"
: "Skipping host");