summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpcbind
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/rpcbind')
-rw-r--r--usr.sbin/rpcbind/security.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/rpcbind/security.c b/usr.sbin/rpcbind/security.c
index 8f47f66..0311f58 100644
--- a/usr.sbin/rpcbind/security.c
+++ b/usr.sbin/rpcbind/security.c
@@ -104,6 +104,7 @@ check_access(SVCXPRT *xprt, rpcproc_t proc, void *args, int rpcbvers)
case RPCBPROC_GETADDRLIST:
case RPCBPROC_GETSTAT:
default:
+ ;
}
#ifdef LIBWRAP
@@ -148,6 +149,7 @@ is_loopback(struct netbuf *nbuf)
case AF_LOCAL:
return 1;
default:
+ ;
}
return 0;
@@ -267,8 +269,10 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum)
case YPPROC_NEXT:
goto deny;
default:
+ ;
}
default:
+ ;
}
return 1;
OpenPOWER on IntegriCloud