mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 08:59:01 +00:00
targets.cc, and return false if it is so. This indicates that we are not doing a raw scan. target->deviceName != NULL is necessary before checking target->directlyConnected(), otherwise you get this assertion failure when doing any non-root scan (such as -sT or -sL) as root with two or more targets: nmap: Target.cc:369: bool Target::directlyConnected() const: Assertion `directly_connected == 0 || directly_connected == 1' failed. Aborted This is how the logic originally worked, and I accidentally broke it in r17892.
24 KiB
24 KiB