summaryrefslogtreecommitdiff
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-06-08 12:45:22 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-06-08 12:45:22 +0000
commit6ee7c85891b75f8a215e5979e6e758533df331b2 (patch)
treec2ea5bd2ce5b38be0d4d02100e57cd8793603294 /usr.sbin/rpcbind
parent37b580cbf9fe94bc7e7105a883ca595cf0f21072 (diff)
downloadsrc-test2-6ee7c85891b75f8a215e5979e6e758533df331b2.tar.gz
src-test2-6ee7c85891b75f8a215e5979e6e758533df331b2.zip
Notes
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/rpcb_stat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpcbind/rpcb_stat.c b/usr.sbin/rpcbind/rpcb_stat.c
index fd92d78ea161..12aab64a058a 100644
--- a/usr.sbin/rpcbind/rpcb_stat.c
+++ b/usr.sbin/rpcbind/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) {