mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 10:29:03 +00:00
Protocol numbers were being used as a short in network byte order instead of host byte order, so this command would fail: nmap -sO -p tcp Additionally, duplicate protocols would not be reported correctly. This change speeds up lookups and simplifies the code.
5.1 KiB
5.1 KiB