mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
0d3a8846b023bcf5277a4fa1027c3645a3c43dae
o.af is AF_UNSPEC at this point in the common case that neither -4 nor -6 was given. The code was falling through to the "else" IPv6 case. I think we were getting luck with this because the port number happens to be in the same place in sockaddr_in and sockaddr_in6.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.2%