mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 06:01:28 +00:00
allow the sa_len to increase the size of the current structure, not decrease it below sizeof(struct ifreq). Doing it this way makes it work on NetBSD. This technique more or less matches that used in Unix Network Programming, 3rd Edition, section 17.6. The old implementation was likely incorrect, though it happened to work on FreeBSD.
125 KiB
125 KiB