summaryrefslogtreecommitdiff
path: root/sys/netiso/tp_iso.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netiso/tp_iso.c')
-rw-r--r--sys/netiso/tp_iso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netiso/tp_iso.c b/sys/netiso/tp_iso.c
index 71a5922952b..72de790e18e 100644
--- a/sys/netiso/tp_iso.c
+++ b/sys/netiso/tp_iso.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tp_iso.c,v 1.6 2003/06/02 23:28:18 millert Exp $ */
+/* $OpenBSD: tp_iso.c,v 1.7 2003/09/28 23:17:45 cloder Exp $ */
/* $NetBSD: tp_iso.c,v 1.8 1996/03/16 23:13:54 christos Exp $ */
/*-
@@ -649,7 +649,7 @@ tpclnp_ctlinput(cmd, saddr, dummy)
}
#endif
- if (cmd < 0 || cmd > PRC_NCMDS)
+ if (cmd < 0 || cmd >= PRC_NCMDS)
return NULL;
if (siso->siso_family != AF_ISO)
return NULL;