summaryrefslogtreecommitdiffstats
path: root/support/nfs/cacheio.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2016-12-17 12:22:50 -0500
committerSteve Dickson <steved@redhat.com>2016-12-20 13:29:04 -0500
commit1717330ffe1831166f73f8b25b1d7d3b9a49b8c6 (patch)
tree699a25cd3afc402ca27be5aa569ebf33c200c89b /support/nfs/cacheio.c
parent1b5881d5b9f3e88e76665139fda08fefdbef7795 (diff)
downloadnfs-utils-1717330ffe1831166f73f8b25b1d7d3b9a49b8c6.tar.gz
nfs-utils-1717330ffe1831166f73f8b25b1d7d3b9a49b8c6.tar.xz
nfs-utils-1717330ffe1831166f73f8b25b1d7d3b9a49b8c6.zip
nfsd: move and improve test on valid port
nfssvc_set_sockets() access textual port numbers (by lookup in /etc/services). This uses getaddrinfo which reports errors, except for out-of-range numbers. So change the test on a valid port to only complain if the port given is purely numeric, but is out-of-range. Also move it so that any default value gets tested the same as any argument value. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfs/cacheio.c')
0 files changed, 0 insertions, 0 deletions