Fix off-by-one error with the range check for PRC_NCMDS.
authorJeffrey Hsu <hsu@dragonflybsd.org>
Tue, 28 Dec 2004 19:55:16 +0000 (19:55 +0000)
committerJeffrey Hsu <hsu@dragonflybsd.org>
Tue, 28 Dec 2004 19:55:16 +0000 (19:55 +0000)
commit060720764690b52f003d762dd950ec6dc1fc8bc3
treebe29bb78fbec419aa28a101e44be97fc4a1f49fc
parent22cf829d0b476a699613fcd928c944c9fbd98dfe
Fix off-by-one error with the range check for PRC_NCMDS.

Same as:  FreeBSD rev 1.38, OpenBSD rev 1.36, KAME rev 1.137.
Submitted by:  Hiroki Sato <hrs@allbsd.org>
sys/netinet6/in6_pcb.c