diff options
Diffstat (limited to 'net-misc/oidentd/files/oidentd-2.0.8-bind-to-ipv6-too.patch')
-rw-r--r-- | net-misc/oidentd/files/oidentd-2.0.8-bind-to-ipv6-too.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/net-misc/oidentd/files/oidentd-2.0.8-bind-to-ipv6-too.patch b/net-misc/oidentd/files/oidentd-2.0.8-bind-to-ipv6-too.patch deleted file mode 100644 index 2652622cdd4f..000000000000 --- a/net-misc/oidentd/files/oidentd-2.0.8-bind-to-ipv6-too.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch to bind to ipv6 socket as well -Patch supplied by Fabian Knittel <fabian.knittel@avona.com> ---- oidentd-2.0.8/src/oidentd_inet_util.c 2006-05-22 02:31:19.000000000 +0200 -+++ oidentd-2.0.8.new/src/oidentd_inet_util.c 2010-03-01 20:26:11.000000000 +0100 -@@ -60,6 +60,12 @@ - #ifdef WANT_IPV6 - case AF_INET6: - SIN6(ai->ai_addr)->sin6_port = listen_port; -+ -+ if (setsockopt(listenfd, IPPROTO_IPV6, IPV6_V6ONLY, &one, -+ sizeof(one)) != 0) { -+ debug("setsockopt IPV6_V6ONLY: %s", strerror(errno)); -+ return (-1); -+ } - break; - #endif - |