such a value would have triggered a KASSERT()
ok sashan@ deraadt@
-/* $OpenBSD: pf.c,v 1.1172 2023/03/04 10:55:37 sashan Exp $ */
+/* $OpenBSD: pf.c,v 1.1173 2023/03/23 01:41:12 jsg Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
* next pass of the purge task.
*/
- /* handle all PFTM_* > PFTM_MAX here */
- if (stimeout > PFTM_MAX)
+ /* handle all PFTM_* >= PFTM_MAX here */
+ if (stimeout >= PFTM_MAX)
return (0);
KASSERT(stimeout < PFTM_MAX);