Use getaddrinfo() in kprop and kpropd, and recognize IPv6 addresses
authorGreg Hudson <ghudson@mit.edu>
Fri, 11 Jun 2010 21:03:03 +0000 (21:03 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 11 Jun 2010 21:03:03 +0000 (21:03 +0000)
commitc58f231b1a988eecc99e73f8394f298bf1d2a166
tree3b1c3ba0443a34dd5b33206ee504a9e5b13d27f2
parentc7a6ad31cd2bfe9c6ac93ae498c6d345ae1db1ba
Use getaddrinfo() in kprop and kpropd, and recognize IPv6 addresses
when setting up krb5_address structures.  kpropd still only binds to
one socket to avoid the need for a select() loop, so we turn off
IPV6_V6ONLY on that socket to ensure that IPv4 connections will still
be accepted.

Based on a patch from Michael Stapelberg <michael@stapelberg.de>.

ticket: 6686

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24134 dc483132-0cff-0310-8789-dd5450dbe970
src/slave/Makefile.in
src/slave/kprop.c
src/slave/kprop.h
src/slave/kprop_sock.c [new file with mode: 0644]
src/slave/kpropd.c