summaryrefslogtreecommitdiff
path: root/package/heimdal/patches/patch-kadmin_kadm_conn_c
blob: b0c28840410638ffe5d3070ed73bd095434d149d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- heimdal-1.2.1.orig/kadmin/kadm_conn.c	2008-07-28 14:04:51.000000000 +0200
+++ heimdal-1.2.1/kadmin/kadm_conn.c	2009-01-06 14:21:32.674256091 +0100
@@ -264,8 +264,9 @@ start_server(krb5_context context)
 	    }
 
 	    socket_set_reuseaddr(s, 1);
+#ifdef HAVE_IPV6
 	    socket_set_ipv6only(s, 1);
-
+#endif
 	    if (bind (s, ap->ai_addr, ap->ai_addrlen) < 0) {
 		krb5_warn(context, errno, "bind");
 		close(s);