diff options
Diffstat (limited to 'usr.sbin/rpc.statd/statd.c')
-rw-r--r-- | usr.sbin/rpc.statd/statd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/rpc.statd/statd.c b/usr.sbin/rpc.statd/statd.c index c942338..f51bea8 100644 --- a/usr.sbin/rpc.statd/statd.c +++ b/usr.sbin/rpc.statd/statd.c @@ -367,6 +367,9 @@ create_service(struct netconfig *nconf) exit(1); } + if (nconf->nc_semantics != NC_TPI_CLTS) + listen(sock, SOMAXCONN); + transp = svc_tli_create(fd, nconf, NULL, RPC_MAXDATASIZE, RPC_MAXDATASIZE); |