diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-06-29 12:44:17 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-06-29 12:44:17 -0400 |
commit | 5ccb6c5876454f5ed03aeee5a80b7cead35d29c7 (patch) | |
tree | 3cdf49d054af92c0970e141c46e6003c6259354f | |
parent | f5b14fb4f37220a31a8d483cb507ac6e7d89d84d (diff) | |
download | ti-rpc-5ccb6c5876454f5ed03aeee5a80b7cead35d29c7.tar.gz |
rpcb_clnt: RPC_PROGNOTREGISTERED is a permanent errorlibtirpc-0-2-1-rc2
rpcbind returns RPC_PROGNOTREGISTERED if it knows for certain that an
RPC
program is not supported for a given transport. This is a permanent and
authoritative error, so the library's rpcbind query API should never
retry the query -- it will only get the same answer.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | src/rpcb_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcb_clnt.c b/src/rpcb_clnt.c index 732c556..6494370 100644 --- a/src/rpcb_clnt.c +++ b/src/rpcb_clnt.c @@ -781,7 +781,7 @@ __rpcb_findaddr_timed(program, version, nconf, host, clpp, tp) if ((ua == NULL) || (ua[0] == 0)) { /* address unknown */ rpc_createerr.cf_stat = RPC_PROGNOTREGISTERED; - continue; /* try other versions */ + goto error; } address = uaddr2taddr(nconf, ua); #ifdef ND_DEBUG |