mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Avoid portlist lookup when port is already available
This commit is contained in:
parent
1a4d41a6b7
commit
e75a253d72
2 changed files with 6 additions and 1 deletions
|
|
@ -206,6 +206,7 @@ class PortList {
|
|||
int allowed_protocol, int allowed_state) const;
|
||||
|
||||
int setStateReason(u16 portno, u8 proto, reason_t reason, u8 ttl, const struct sockaddr_storage *ip_addr);
|
||||
int setStateReason(Port *answer, reason_t reason, u8 ttl, const struct sockaddr_storage *ip_addr);
|
||||
|
||||
int numscriptresults; /* Total number of scripts which produced output */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue