]> git.decadent.org.uk Git - nfs-utils.git/commit
libexport.a: Add helper for populating m_addrlist[]
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Apr 2010 12:59:18 +0000 (08:59 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 15 Apr 2010 12:59:18 +0000 (08:59 -0400)
commit30eff9c26141746fb26efb1af60d5cbe7a16ebae
treee2e7933ed4b5573cc19b32f2dbd627bfe65e6d35
parente1c93f691348392ee36b763bf57946540891ff16
libexport.a: Add helper for populating m_addrlist[]

Clean up: Move common code that populates an nfs_client record's
m_addrlist to a helper function.  This eliminates a little code
duplication, and makes it simpler to add IPv6 support later.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
support/export/client.c