X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fnfs%2Fgetport.c;h=f5ba4ef7c585e24c8e5730ae8ce9f43936823102;hp=e39f809973d84c2e9dc676c1f69ba4eb740b17fb;hb=682a9855b93a7d3545a26eea39a0895b9757cdcb;hpb=aa633adcbe63b7539d23d7e0fb1342659cf22953 diff --git a/support/nfs/getport.c b/support/nfs/getport.c index e39f809..f5ba4ef 100644 --- a/support/nfs/getport.c +++ b/support/nfs/getport.c @@ -79,6 +79,9 @@ nfs_gp_map_tcp_errorcodes(const unsigned short protocol) case ETIMEDOUT: rpc_createerr.cf_stat = RPC_TIMEDOUT; break; + case ECONNREFUSED: + rpc_createerr.cf_stat = RPC_CANTRECV; + break; } }