HEX
Server: Apache/2.4.41 (FreeBSD) OpenSSL/1.0.2s mod_fcgid/2.3.9
System: FreeBSD salazo 12.0-RELEASE-p1303-ZFS hostBSD 12.0-RELEASE-p1303-ZFS DMR amd64
User: admin (1000)
PHP: 7.4.3
Disabled: NONE
Upload Files
File: /usr/ports/security/nmap/files/patch-libdnet-stripped_src_intf.c
--- libdnet-stripped/src/intf.c.orig	2016-07-27 20:11:27 UTC
+++ libdnet-stripped/src/intf.c
@@ -163,7 +163,7 @@ intf_open(void)
 #if defined(SIOCGLIFCONF) || defined(SIOCGIFNETMASK_IN6) || defined(SIOCGIFNETMASK6)
 		if ((intf->fd6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) {
 #  ifdef EPROTONOSUPPORT
-			if (errno != EPROTONOSUPPORT)
+			if (errno != EPROTONOSUPPORT && errno != EAFNOSUPPORT)
 #  endif
 				return (intf_close(intf));
 		}