diff --git a/scan_engine.cc b/scan_engine.cc index b75d52b20..58825965d 100644 --- a/scan_engine.cc +++ b/scan_engine.cc @@ -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); } } diff --git a/tcpip.cc b/tcpip.cc index 68851c264..43abcbfb6 100644 --- a/tcpip.cc +++ b/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;