diff options
Diffstat (limited to 'sys/netipx/spx_usrreq.c')
-rw-r--r-- | sys/netipx/spx_usrreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index 559a27642e7..16f21e8fc65 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spx_usrreq.c,v 1.20 2003/06/02 23:28:16 millert Exp $ */ +/* $OpenBSD: spx_usrreq.c,v 1.21 2003/09/28 23:17:45 cloder Exp $ */ /*- * @@ -612,7 +612,7 @@ spx_ctlinput(cmd, arg_as_sa, dummy) struct ipx_addr *na; struct sockaddr_ipx *sipx; - if (cmd < 0 || cmd > PRC_NCMDS) + if (cmd < 0 || cmd >= PRC_NCMDS) return NULL; switch (cmd) { |