summaryrefslogtreecommitdiffstats
path: root/include/rpc
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-09-09 14:15:55 +0000
committerdfr <dfr@FreeBSD.org>2008-09-09 14:15:55 +0000
commit73a287b49184cc4b7cc4c689ada9fd5cb5ccc884 (patch)
treec9744cbbd3e4fa39a76ed292d0756664e32e4cbe /include/rpc
parent626be4984b8725de1d5bfcd3ca1670bff15bf636 (diff)
downloadFreeBSD-src-73a287b49184cc4b7cc4c689ada9fd5cb5ccc884.zip
FreeBSD-src-73a287b49184cc4b7cc4c689ada9fd5cb5ccc884.tar.gz
Initialise the SVCAUTH field for new transport structures when they are
allocated instead of waiting for the first request. This fixes an issue with rpcbind's support for PMAPPROC_CALLIT. Reviewed by: markm
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/svc_auth.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rpc/svc_auth.h b/include/rpc/svc_auth.h
index 67df976..41fc82b 100644
--- a/include/rpc/svc_auth.h
+++ b/include/rpc/svc_auth.h
@@ -46,6 +46,8 @@
* Server side authenticator
*/
__BEGIN_DECLS
+extern struct svc_auth_ops svc_auth_null_ops;
+
extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *);
extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *,
struct rpc_msg *));
OpenPOWER on IntegriCloud