mirror of
https://github.com/nmap/nmap.git
synced 2026-01-24 15:19:03 +00:00
Fixing an assertion failure caused when running an ARP Ping scan. A Global Ping was attempted, but ARP wasn't checked for in sendPingProbe()
This commit is contained in:
@@ -2862,6 +2862,8 @@ static void sendPingProbe(UltraScanInfo *USI, HostScanStats *hss) {
|
||||
} else if (hss->pingprobe.type == PS_TCP || hss->pingprobe.type == PS_UDP
|
||||
|| hss->pingprobe.type == PS_PROTO || hss->pingprobe.type == PS_ICMP) {
|
||||
sendIPScanProbe(USI, hss, &hss->pingprobe, 0, hss->nextPingSeq(true));
|
||||
} else if (hss->pingprobe.type == PS_ARP) {
|
||||
sendArpScanProbe(USI, hss, 0, hss->nextPingSeq(true));
|
||||
} else if (USI->scantype == RPC_SCAN) {
|
||||
assert(0); /* TODO: fill out */
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user