patch-kadmin_kadm_conn_c 467 B

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