aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r--net/sunrpc/rpcb_clnt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index cf7db59cdcde..9a20f380ab09 100644
--- a/net/sunrpc/rpcb_clnt.c
+++ b/net/sunrpc/rpcb_clnt.c
@@ -184,7 +184,8 @@ static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr,
184 .program = &rpcb_program, 184 .program = &rpcb_program,
185 .version = version, 185 .version = version,
186 .authflavor = RPC_AUTH_UNIX, 186 .authflavor = RPC_AUTH_UNIX,
187 .flags = RPC_CLNT_CREATE_NOPING, 187 .flags = (RPC_CLNT_CREATE_NOPING |
188 RPC_CLNT_CREATE_INTR),
188 }; 189 };
189 190
190 ((struct sockaddr_in *)srvaddr)->sin_port = htons(RPCBIND_PORT); 191 ((struct sockaddr_in *)srvaddr)->sin_port = htons(RPCBIND_PORT);