LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ipv6_disabled.patch of Package postfix (Project server:mail)

Index: src/util/inet_proto.c
===================================================================
--- src/util/inet_proto.c.orig
+++ src/util/inet_proto.c
@@ -220,9 +220,11 @@ INET_PROTO_INFO *inet_proto_init(const c
 	    pf->sa_family_list = make_uchar_vector(3, AF_INET, AF_INET6, 0);
 	    break;
 	} else if (errno == EAFNOSUPPORT) {
-	    msg_warn("%s: IPv6 support is disabled: %m", context);
-	    msg_warn("%s: configuring for IPv4 support only", context);
-	    /* FALLTHROUGH */
+	   /* remove waste warnings 2007-01-25 Peter Varkoly <varkoly@novell.com>
+	    * msg_warn("%s: IPv6 support is disabled: %m", context);
+	    * msg_warn("%s: configuring for IPv4 support only", context);
+	    * FALLTHROUGH
+	    */
 	} else {
 	    msg_fatal("socket: %m");
 	}