Add a family-independent bindresvport_sa function This functions allows you to pass IPv4 and IPv6 addresses. If no address is given, t will determine the family by checking the socket with getsockname. [ghudson@mit.edu: clarified commit message, split out setport helper, squashed with next commit, minimized code changes from old bindresvport, used socket-utils.h helpers] https://github.com/krb5/krb5/commit/0d04b60d159ab83b943e43802b1449a3b074bc83 Author: Andreas Schneider Committer: Greg Hudson Commit: 0d04b60d159ab83b943e43802b1449a3b074bc83 Branch: master src/include/gssrpc/rename.h | 1 + src/include/gssrpc/rpc.h | 1 + src/lib/rpc/bindresvport.c | 34 +++++++++++++++++++++++----------- 3 files changed, 25 insertions(+), 11 deletions(-)