postfix/ipv6_disabled.patch

18 lines
729 B
Diff

--- postfix-2.2.9/src/util/inet_proto.c 2005-01-19 02:22:19.000000000 +0100
+++ postfix-2.2.9/src/util/inet_proto.c 2007-01-25 13:22:25.000000000 +0100
@@ -220,9 +220,11 @@
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");
}