* sock2p.c: New file.
(inet_ntop): Define if system doesn't provide it.
(sockaddr2p): New function.
* Makefile.in (SRCS, OBJS): Add sock2p.
* kdc_util.h (inet_ntop, sockaddr2p): Declare them.
* network.c (add_fd): New function. Reallocate udp_port_fds array as needed
here.
(setup_port): Use add_fd to record new sockets. Use inet_ntop unconditionally.
Disable ipv6 support until process_packet and friends will support it.
(process_packet): Ignore ECONNREFUSED when reading UDP packets. Fill in port
field of faddr properly, dependent on address family. Use sockaddr2p when
logging source address.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12109
dc483132-0cff-0310-8789-
dd5450dbe970