summaryrefslogtreecommitdiff
path: root/package/heimdal/patches/patch-kadmin_kadm_conn_c
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/heimdal/patches/patch-kadmin_kadm_conn_c
Initial import
Diffstat (limited to 'package/heimdal/patches/patch-kadmin_kadm_conn_c')
-rw-r--r--package/heimdal/patches/patch-kadmin_kadm_conn_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/heimdal/patches/patch-kadmin_kadm_conn_c b/package/heimdal/patches/patch-kadmin_kadm_conn_c
new file mode 100644
index 000000000..b0c288404
--- /dev/null
+++ b/package/heimdal/patches/patch-kadmin_kadm_conn_c
@@ -0,0 +1,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);