From: mbuhl Date: Thu, 21 Jul 2022 05:26:10 +0000 (+0000) Subject: Set the default pool size for the new anchors pool otherwise it's set to 0. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c25920234118bb12e8b35bb4c521c4dd54942f88;p=openbsd Set the default pool size for the new anchors pool otherwise it's set to 0. --- diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index a016297bd94..4794c63e473 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.386 2022/07/20 09:33:11 mbuhl Exp $ */ +/* $OpenBSD: pfctl.c,v 1.387 2022/07/21 05:26:10 mbuhl Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1727,6 +1727,7 @@ pfctl_init_options(struct pfctl *pf) pf->limit[PF_LIMIT_TABLES] = PFR_KTABLE_HIWAT; pf->limit[PF_LIMIT_TABLE_ENTRIES] = PFR_KENTRY_HIWAT; pf->limit[PF_LIMIT_PKTDELAY_PKTS] = PF_PKTDELAY_MAXPKTS; + pf->limit[PF_LIMIT_ANCHORS] = PF_ANCHOR_HIWAT; mib[0] = CTL_HW; mib[1] = HW_PHYSMEM64;