mirror of
https://github.com/nmap/nmap.git
synced 2026-01-07 23:19:02 +00:00
Make "failed to determine route" a warning, not a fatal error.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o The message "nexthost: failed to determine route to ..." is now a
|
||||
warning rather than a fatal error. Addresses that are skipped in
|
||||
this way are recorded in the XML output as <target> elements. [David
|
||||
Fifield]
|
||||
|
||||
o [NSE] Added the script http-drupal-modules, which enumerates the installed
|
||||
Drupal modules using drupal-modules.lst. [Hani Benhabiles]
|
||||
|
||||
|
||||
@@ -372,7 +372,9 @@ Target *nexthost(HostGroupState *hs, const addrset *exclude_group,
|
||||
)) {
|
||||
t->TargetSockAddr(&ss, &sslen);
|
||||
if (!nmap_route_dst(&ss, &rnfo)) {
|
||||
fatal("%s: failed to determine route to %s", __func__, t->NameIP());
|
||||
log_bogus_target(inet_ntop_ez(&ss, sslen));
|
||||
error("%s: failed to determine route to %s", __func__, t->NameIP());
|
||||
continue;
|
||||
}
|
||||
if (rnfo.direct_connect) {
|
||||
t->setDirectlyConnected(true);
|
||||
|
||||
Reference in New Issue
Block a user