summaryrefslogtreecommitdiff
path: root/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2025-05-05 07:16:59 -0700
committerCy Schubert <cy@FreeBSD.org>2025-05-05 07:18:03 -0700
commit7fb570170257bc4fbd563cd109dcbb2c241451cf (patch)
tree26838afcc2ae1e11cd1f8e3b863b6baa3310bc74 /security/nmap-devel/files/patch-libdnet-stripped_src_intf.c
parentwww/tomcat{9,101,110,-devel}: Improve apply JAVA 9+ specific start-up parameters (diff)
security/nmap-devel: Update to the latest GH commit
Diffstat (limited to 'security/nmap-devel/files/patch-libdnet-stripped_src_intf.c')
-rw-r--r--security/nmap-devel/files/patch-libdnet-stripped_src_intf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c b/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c
index 188374dfaaee..649d6bedb578 100644
--- a/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c
+++ b/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c
@@ -1,11 +1,11 @@
---- libdnet-stripped/src/intf.c.orig 2016-07-27 20:11:27 UTC
+--- libdnet-stripped/src/intf.c.orig 2025-04-30 19:58:18 UTC
+++ libdnet-stripped/src/intf.c
-@@ -163,7 +163,7 @@ intf_open(void)
+@@ -178,7 +178,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
+ #endif
return (intf_close(intf));
}