summaryrefslogtreecommitdiff
path: root/src/rpcbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpcbind.c')
-rw-r--r--src/rpcbind.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rpcbind.c b/src/rpcbind.c
index 8db8dfc..cc848b1 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -794,12 +794,14 @@ got_socket:
}
}
#endif
+
+
+#ifdef RMTCALLS
/*
* rmtcall only supported on CLTS transports for now.
*/
if (nconf->nc_semantics == NC_TPI_CLTS) {
status = create_rmtcall_fd(nconf);
-
#ifdef RPCBIND_DEBUG
if (debugging) {
if (status < 0) {
@@ -813,6 +815,8 @@ got_socket:
}
#endif
}
+#endif
+
return (0);
error:
close(fd);