summaryrefslogtreecommitdiffstats
path: root/support/nfs
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-14 12:22:26 -0500
committerSteve Dickson <steved@redhat.com>2010-01-15 14:55:51 -0500
commit56f9d50712481ed0f84f26e3a9f9dd012cf1995f (patch)
treed89446214a1ae9d673e8ce81c934c5cd69980c0d /support/nfs
parent4f3f745c172202bf3846f8f1ee5d0a430b6014af (diff)
downloadnfs-utils-56f9d50712481ed0f84f26e3a9f9dd012cf1995f.tar.gz
nfs-utils-56f9d50712481ed0f84f26e3a9f9dd012cf1995f.tar.xz
nfs-utils-56f9d50712481ed0f84f26e3a9f9dd012cf1995f.zip
sm-notify: factor socket creation out of notify()
The top half of the notify() function creates the main socket that sm-notify uses to do its job. To make adding IPv6 support simpler, refactor that piece into a separate function. The logic is modified slightly so that exit(3) is invoked only in main(). This is not required, but it makes the code slightly easier to understand and maintain. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'support/nfs')
0 files changed, 0 insertions, 0 deletions