$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);
