2012-08-21 17:29:38 +02:00
|
|
|
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
|
2007-03-07 22:50:13 +01:00
|
|
|
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);
|
2012-08-21 17:29:38 +02:00
|
|
|
+ * FALLTHROUGH
|
2007-03-07 22:50:13 +01:00
|
|
|
+ */
|
|
|
|
} else {
|
|
|
|
msg_fatal("socket: %m");
|
|
|
|
}
|