mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
port is unknown, instead of -1. This makes it a better fit with the other accessor functions. For those callers that need to know whether a port is in the default state or not, add PortList::portIsDefault. Having getPortState return -1 for ports in the default state would cause the slightly wrong Discovered unknown port 88/udp on 192.168.0.190 is actually open to be printed instead of Discovered open|filtered port 88/udp on 192.168.0.190 is actually open
205 KiB
205 KiB