summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rpcb_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcb_stat.c b/src/rpcb_stat.c
index ca6f75e..2e5226c 100644
--- a/src/rpcb_stat.c
+++ b/src/rpcb_stat.c
@@ -151,7 +151,7 @@ rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog,
rpcbs_rmtcalllist *rl;
struct netconfig *nconf;
- if (rtype > RPCBVERS_STAT)
+ if (rtype >= RPCBVERS_STAT)
return;
for (rl = inf[rtype].rmtinfo; rl; rl = rl->next) {