summaryrefslogtreecommitdiff
path: root/sys/net/raw_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/raw_usrreq.c')
-rw-r--r--sys/net/raw_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/raw_usrreq.c b/sys/net/raw_usrreq.c
index ceddb7fe469..67940f882d8 100644
--- a/sys/net/raw_usrreq.c
+++ b/sys/net/raw_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_usrreq.c,v 1.7 2003/06/02 23:28:12 millert Exp $ */
+/* $OpenBSD: raw_usrreq.c,v 1.8 2003/09/28 23:17:45 cloder Exp $ */
/* $NetBSD: raw_usrreq.c,v 1.11 1996/02/13 22:00:43 christos Exp $ */
/*
@@ -139,7 +139,7 @@ raw_ctlinput(cmd, arg, d)
void *d;
{
- if (cmd < 0 || cmd > PRC_NCMDS)
+ if (cmd < 0 || cmd >= PRC_NCMDS)
return NULL;
return NULL;
/* INCOMPLETE */