From d8efc7a90ccb6469e6b2fa6c9bbd011575197dc7 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sat, 6 Jul 2002 01:06:44 +0000 Subject: [PATCH] network.c (setup_port): Enable ipv6 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14611 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kdc/ChangeLog | 3 +-- src/kdc/network.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index a6ad0a72b..295aa97f4 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -9,8 +9,7 @@ out an IPv4 address. Log if not IPv4, but continue. * network.c (set_sa_port): New function. (setup_port): Use it. Combine IPv4 and IPv6 paths; IPv6 still - disabled for now. Modify supplied sockaddr instead of making a - copy. + enabled now. Modify supplied sockaddr instead of making a copy. (process_packet): SADDR is now sockaddr_storage. Use socket-utils macros instead of casting. Enable the IPv6 code. * dispatch.c, do_as_req.c, do_tgs_req.c: Define NEED_SOCKETS diff --git a/src/kdc/network.c b/src/kdc/network.c index ff23ff08e..adfb27e3b 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -161,7 +161,7 @@ setup_port(void *P_data, struct sockaddr *addr) break; #ifdef AF_INET6 case AF_INET6: -#ifndef KRB5_USE_INET6x +#ifndef KRB5_USE_INET6 { static int first = 1; if (first) { -- 2.26.2