-/* $OpenBSD: pf_if.c,v 1.101 2021/11/11 12:35:01 sashan Exp $ */
+/* $OpenBSD: pf_if.c,v 1.102 2021/12/06 07:41:33 sashan Exp $ */
/*
* Copyright 2005 Henning Brauer <henning@openbsd.org>
if (kif == NULL)
return;
- if ((kif->pfik_rules != 0) || (kif->pfik_states != 0) ||
- (kif->pfik_states != 0) || (kif->pfik_states != 0) ||
- (kif->pfik_srcnodes != 0))
+ if (kif->pfik_rules || kif->pfik_states || kif->pfik_routes ||
+ kif->pfik_srcnodes)
panic("kif is still alive");
free(kif, PFI_MTYPE, sizeof(*kif));