mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 11:49:01 +00:00
scan response, instead of checking for a current state of PORT_OPENFILTERED. The code calls getPortState, but the port may not have been assigned a state, again because of the new Port allocation architecture, so the function returns -1. It would make sense to have getPortState return the default port state if a Port has not been allocated, but there are two other places it is used where the code relies on it returning -1 to indicate that a port has not received a state yet.
92 KiB
92 KiB