1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 04:39:01 +00:00

about ready for 3.95 release

This commit is contained in:
fyodor
2005-12-08 08:10:49 +00:00
parent 453981b882
commit 1655d26bd8
2 changed files with 19 additions and 1 deletions

View File

@@ -1821,7 +1821,7 @@ bool ultrascan_port_pspec_update(UltraScanInfo *USI, HostScanStats *hss,
proto = IPPROTO_TCP;
portno = pspec->pd.tcp.dport;
} else if (pspec->type == PS_UDP) {
proto = IPPROTO_TCP;
proto = IPPROTO_UDP;
portno = pspec->pd.udp.dport;
} else assert(0);
@@ -3780,6 +3780,14 @@ void pos_scan(Target *target, u16 *portarray, int numports, stype scantype) {
/* if (!testinglist) testinglist = current; */
ss.numqueries_outstanding++;
gettimeofday(&current->sent[0], NULL);
if (send_rpc_query(target->v4hostip(),
rsi.rpc_current_port->portno,
rsi.rpc_current_port->proto, current->portno,
current - scan, current->trynum) == -1) {
/* Futz, I'll give up on this guy ... */
rsi.rpc_status = RPC_STATUS_NOT_RPC;
break;
}
if (senddelay) usleep(senddelay);
}
}