]> git.decadent.org.uk Git - nfs-utils.git/commit
sm-notify: Replace RPC code
authorChuck Lever <chuck.lever@oracle.com>
Thu, 14 Jan 2010 17:22:09 +0000 (12:22 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 15 Jan 2010 19:55:51 +0000 (14:55 -0500)
commite132bb5d5ef85420bb188bceecea361d30cb2bfe
treef1090a5ec9bf3ddd7397a7f6a6bcba32e3086d40
parentd89f50b2902305020a8e5d63ddc0b024679a1fc1
sm-notify: Replace RPC code

Replace the open code to construct SM_NOTIFY and PMAP_GETPORT RPC
requests with calls to our new library routines that support
IPv6 and RPCB_GETADDR as well.

This change allows sm-notify to send RPCB_GETADDR, but it won't do
that until the main sm-notify socket supports PF_INET6 and the DNS
resolution logic is updated to return IPv6 addresses.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
utils/statd/sm-notify.c