summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl/patches/patch-ae
blob: 92814ccb36c40f69cf9c1fb3535dd6117d5e86f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ae,v 1.3 2006/04/13 21:32:40 wiz Exp $

--- sample/server.c.orig	Sun Oct 27 14:15:37 2002
+++ sample/server.c	Sun Oct 27 14:15:40 2002
@@ -117,9 +117,9 @@
 	}
 #if defined(IPV6_V6ONLY) && !(defined(__FreeBSD__) && __FreeBSD__ < 3)
 	if (r->ai_family == AF_INET6) {
-	    if (setsockopt(*sock, IPPROTO_IPV6, IPV6_BINDV6ONLY,
+	    if (setsockopt(*sock, IPPROTO_IPV6, IPV6_V6ONLY,
 			   (void *) &on, sizeof(on)) < 0) {
-		perror("setsockopt (IPV6_BINDV6ONLY)");
+		perror("setsockopt (IPV6_V6ONLY)");
 		close(*sock);
 		continue;
 	    }