pkgsrc/security/cyrus-sasl2/patches/patch-ae
chris ce6ee05b60 Initial import of cyrus-sasl 2.1.9.
This is the latest release of cyrus-sasl.  It is needed for the 2.1.x
versions of cyrus-imapd.

SASL is a method for adding authentication support to connection-based
protocols.  To use SASL, a protocol includes a command for identifying and
authenticating a user to a server and for optionally negotiating protection
of subsequent protocol interactions.  If its use is negotiated, a security
layer is inserted between the protocol and the connection.
2002-10-27 15:08:59 +00:00

16 lines
560 B
Text

$NetBSD: patch-ae,v 1.1.1.1 2002/10/27 15:09:00 chris 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;
}