From a80482157632584ee03df58ed1eef3cefd95bbcb Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 5 Nov 2013 14:10:05 -0500 Subject: 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 --- support/include/rpcmisc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/include') 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) -- cgit