mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Fix some "and" -> "&&".
This commit is contained in:
parent
1646813162
commit
6cf428d8c6
2 changed files with 2 additions and 2 deletions
|
|
@ -3685,7 +3685,7 @@ static void sendNextRetryStackProbe(UltraScanInfo *USI, HostScanStats *hss) {
|
|||
if (pspec.type == PS_CONNECTTCP)
|
||||
sendConnectScanProbe(USI, hss, pspec.pd.tcp.dport, pspec_tries + 1, 0);
|
||||
else {
|
||||
assert(pspec.type != PS_ARP and pspec.type != PS_ND);
|
||||
assert(pspec.type != PS_ARP && pspec.type != PS_ND);
|
||||
sendIPScanProbe(USI, hss, &pspec, pspec_tries + 1, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
2
tcpip.cc
2
tcpip.cc
|
|
@ -1762,7 +1762,7 @@ int read_na_pcap(pcap_t *pd, u8 *sendermac, struct sockaddr_in6 *senderIP, long
|
|||
}
|
||||
}
|
||||
}
|
||||
} while (!timedout and !ip_tmp);
|
||||
} while (!timedout && !ip_tmp);
|
||||
|
||||
if (timedout)
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue