Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 975 Use binresvport_sa when creating RPC handles Make clnttcp_create, clntudp_bufcreate, svctcp_create, and svcudp_bufcreate work with unbound IPv6 sockets using bindresvport_sa and other socket helpers. For caller-supplied sockets, call getsockname to determine the address family we should attempt to bind. [ghudson@mit.edu: clarified commit message, minimized code changes, used socket-utils.h helpers, fixed fallback find on bindresvport failure, restored getsockaddr call to get port after binding] https://github.com/krb5/krb5/commit/b272744422dea77fdf9518a20386660df7a97bf7 Author: Andreas Schneider Committer: Greg Hudson Commit: b272744422dea77fdf9518a20386660df7a97bf7 Branch: master src/lib/rpc/clnt_tcp.c | 2 +- src/lib/rpc/clnt_udp.c | 2 +- src/lib/rpc/svc_tcp.c | 31 ++++++++++++++++++------------- src/lib/rpc/svc_udp.c | 31 +++++++++++++++++++------------ 4 files changed, 39 insertions(+), 27 deletions(-)