diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-01-14 12:22:59 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-01-15 14:55:51 -0500 |
commit | 51fdac83e3afd86d0885c6b83123758708da61b1 (patch) | |
tree | d30107a3847cff311edff9aa2ea798105579f12b /utils/mount/nfsmount.conf | |
parent | 86cfdf1d38da18f9f917c674daba79a4435445a7 (diff) | |
download | nfs-utils-51fdac83e3afd86d0885c6b83123758708da61b1.tar.gz nfs-utils-51fdac83e3afd86d0885c6b83123758708da61b1.tar.xz nfs-utils-51fdac83e3afd86d0885c6b83123758708da61b1.zip |
sm-notify: Use getaddrinfo(3) to create bind address in smn_create_socket()
This patch updates the "bind to a user-specified port" arm of
smn_create_socket() so it can deal with IPv6 bind addresses.
A single getaddrinfo(3) call can convert a user-specified bind address
or hostname to a socket address, optionally plant a provided port
number, or whip up an appropriate wildcard address for use as the main
socket's bind address.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'utils/mount/nfsmount.conf')
0 files changed, 0 insertions, 0 deletions