summaryrefslogtreecommitdiffstats
path: root/support/include/rpcmisc.h
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2013-11-05 14:10:05 -0500
committerSteve Dickson <steved@redhat.com>2013-11-05 14:10:05 -0500
commita80482157632584ee03df58ed1eef3cefd95bbcb (patch)
tree17f9875fc50aceaa5468e7907f5c178e2c37845e /support/include/rpcmisc.h
parentd4a408776d611cd62235232d65d488d02fca78e4 (diff)
downloadnfs-utils-a80482157632584ee03df58ed1eef3cefd95bbcb.tar.gz
nfs-utils-a80482157632584ee03df58ed1eef3cefd95bbcb.tar.xz
nfs-utils-a80482157632584ee03df58ed1eef3cefd95bbcb.zip
mountd: Use protocol bit fields to turn protocols off.
Convert the current code to used the NFSCTL_XXX macros to turn off the TCP listener. Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/rpcmisc.h')
-rw-r--r--support/include/rpcmisc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/include/rpcmisc.h b/support/include/rpcmisc.h
index b806227..31c8e5d 100644
--- a/support/include/rpcmisc.h
+++ b/support/include/rpcmisc.h
@@ -56,7 +56,7 @@ void rpc_dispatch(struct svc_req *rq, SVCXPRT *xprt,
int getservport(u_long number, const char *proto);
extern int _rpcpmstart;
-extern int _rpcfdtype;
+extern unsigned int _rpcprotobits;
extern int _rpcsvcdirty;
static inline struct sockaddr_in *nfs_getrpccaller_in(SVCXPRT *xprt)