summaryrefslogtreecommitdiff
path: root/sys/netiso/cltp_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netiso/cltp_usrreq.c')
-rw-r--r--sys/netiso/cltp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/cltp_usrreq.c b/sys/netiso/cltp_usrreq.c
index e1cca324c8c..35b4cb750e0 100644
--- a/sys/netiso/cltp_usrreq.c
+++ b/sys/netiso/cltp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cltp_usrreq.c,v 1.4 2003/06/02 23:28:17 millert Exp $ */
+/* $OpenBSD: cltp_usrreq.c,v 1.5 2003/09/28 23:17:45 cloder Exp $ */
/* $NetBSD: cltp_usrreq.c,v 1.9 1996/02/13 22:08:59 christos Exp $ */
/*
@@ -185,7 +185,7 @@ cltp_ctlinput(cmd, sa, dummy)
extern u_char inetctlerrmap[];
struct sockaddr_iso *siso;
- if ((unsigned) cmd > PRC_NCMDS)
+ if ((unsigned) cmd >= PRC_NCMDS)
return;
if (sa->sa_family != AF_ISO && sa->sa_family != AF_CCITT)
return;