From nobody Wed Jun 25 20:04:43 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bSCTS16tfz60SNx; Wed, 25 Jun 2025 20:04:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bSCTR5tl4z3JRJ; Wed, 25 Jun 2025 20:04:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750881883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jjelGgliDJke/B4eDNCa98k9IGuT95qL/DmkDSIvUhM=; b=hcXNxSHwtj4ag7lcfqP93kwXZjxLUiqYfRjVlaDXC5mv4JxHXZO8ea8iPplwbM3HifoV77 ARS+ovWZuCzRzhuIJaju3H9RdGa8GMNQFDJtK53QBrgi3FZ2cVPWda6FB9kfQDMucMBWFJ 5pInnd03MQtaUABSXMspOw4J8azisSL6Kb0FU6DzXehx1HicTLBjI497mJ4glbT37jAYmd TkfL1rohAVohua+G8dna8BXP/TjH+MPinmbd+uKJGx1WLq2eAzsYEi9guTDxE3R2EgysBd UxvtOawKOvT+HpJpqLaVgzmRecH4MeJ0qZ6QsPYh/i/dMzREjeOqnTd+fv1VKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750881883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jjelGgliDJke/B4eDNCa98k9IGuT95qL/DmkDSIvUhM=; b=nRufJxd0U8RULlT8QkI8JgNtIQNHgl8X8WaSbNt7EVPKp5145hzUM0eW2B0psIcAF+Xz0D AjKp0IAIKHXnC6zNgamk1zE+0jbrXwOLCXc7cWOkfxfMRa5EyuIFOPgtm7ARY2nKxM2xIb rz083R+0W06M3VBa8tvegm8pYtADEhFbiAMft0XmNGLL9Ah2kuhOfbebosBmSw3RvcL3ow dGv9hzMa10vy+W/7uNauxdcEjiEOhOasan/VPiO7/2daSzaxbOoHfBkycsYF2pM0QEFln9 ITSdADCHQDfp40BYCG/De0zpDL3pCBHWXTzfb0R7+ED3ZZ2GYSa/3KwSRZjjeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750881883; a=rsa-sha256; cv=none; b=K/HEvUftBlwadiaq+E/1zrEydi+9iMca4q7Y1RivFbrsnEXroJjDQfDvZROts52knLwF+p Ll2wSg4JzO+zCMtmf/iHfensgPKoVJRQmKIKSfkwSF1musEteW64eE+FSAnSS6jI3Z7ZGa P7E4vC5kAzfecU1mocMF0u+xJoIBeeAYB8LjcFCmYrV1lkjay1r2WV8TSUNfpt1IcO2nVx F4d5vj+Tmapjpii0ddNVrXDPY6cbjrIL2Rea5CD9DN+26yI8uiMOIAk3YVj76gW1xUHu/N pRENwjQ8Ra5SGqC9lbTi9v2NnUpraMi9TofPpRoI55Is1sbLqjkpJMVMU6bw2Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bSCTR5RRNzXnX; Wed, 25 Jun 2025 20:04:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55PK4huV080674; Wed, 25 Jun 2025 20:04:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55PK4h2w080671; Wed, 25 Jun 2025 20:04:43 GMT (envelope-from git) Date: Wed, 25 Jun 2025 20:04:43 GMT Message-Id: <202506252004.55PK4h2w080671@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 809ba93c689f - main - pfctl: rule optimizer: anchor name vs. anchor path mix up List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 809ba93c689ff5a1fd04a45406363e09f43c8467 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=809ba93c689ff5a1fd04a45406363e09f43c8467 commit 809ba93c689ff5a1fd04a45406363e09f43c8467 Author: Kristof Provost AuthorDate: 2025-06-17 11:58:59 +0000 Commit: Kristof Provost CommitDate: 2025-06-25 20:04:15 +0000 pfctl: rule optimizer: anchor name vs. anchor path mix up OK bluhm@ Obtained from: OpenBSD, sashan , a2fcc04574 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/pfctl_optimize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/pfctl/pfctl_optimize.c b/sbin/pfctl/pfctl_optimize.c index 7817bcfd284a..530f1c241661 100644 --- a/sbin/pfctl/pfctl_optimize.c +++ b/sbin/pfctl/pfctl_optimize.c @@ -1337,7 +1337,7 @@ again: if (pfctl_define_table(tbl->pt_name, PFR_TFLAG_CONST, 1, - pf->astack[0]->name, tbl->pt_buf, pf->astack[0]->ruleset.tticket)) { + pf->astack[0]->path, tbl->pt_buf, pf->astack[0]->ruleset.tticket)) { warn("failed to create table %s in %s", tbl->pt_name, pf->astack[0]->name); return (1);