]> git.decadent.org.uk Git - nfs-utils.git/commit
exportfs: matchhostname() doesn't handle localhost properly
authorChuck Lever <chuck.lever@oracle.com>
Mon, 29 Aug 2011 17:20:22 +0000 (13:20 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 29 Aug 2011 17:43:27 +0000 (13:43 -0400)
commit140468c2968472e871b972e400f58ad659458a2d
treebdf3115ab580d78f1e970bb921d02d5c32dfbcf7
parent1f1bca1748018e390f46fe4426899cc6f79b82b0
exportfs: matchhostname() doesn't handle localhost properly

Same change as statd_matchhostname() is necessary for the logic in
exportfs.

Recall that these are "separate but nearly equal" because the exportfs
version requires extra expensive string checking that would be onerous
for statd.

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