summaryrefslogtreecommitdiffstats
path: root/support/include/nfs/nfs.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-02-12 14:33:34 -0500
committerSteve Dickson <steved@redhat.com>2010-02-12 14:33:34 -0500
commit1d4a0cb29ee88257b42d18a22388e1b23cf13bcc (patch)
treea50b230506906e6359bb337a202922b6bde0b6a4 /support/include/nfs/nfs.h
parentabba588f7458ab4b29bb05782c0570b71ee8967c (diff)
downloadnfs-utils-1d4a0cb29ee88257b42d18a22388e1b23cf13bcc.tar.gz
nfs-utils-1d4a0cb29ee88257b42d18a22388e1b23cf13bcc.tar.xz
nfs-utils-1d4a0cb29ee88257b42d18a22388e1b23cf13bcc.zip
mount.nfs: return error if proto= option specified IPv6 when IPv6 isn't supported
Right now, there's nothing that expressly forbids someone from specifying proto=tcp6 for instance, even when nfs-utils it built without IPv6 support. This may not work well if (for instance) they are using NFSv3, since statd won't support IPv6. Explicitly return an error if someone specifies an IPv6 proto= or mountproto= option and IPv6 isn't supported. Signed-off-by: Jeff Layton <jlayton@redhat.com> Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs/nfs.h')
0 files changed, 0 insertions, 0 deletions