From nobody Wed Jun 25 20:04:42 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 4bSCTR0bkGz60SYR; Wed, 25 Jun 2025 20:04:43 +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 4bSCTQ5GkBz3JLC; Wed, 25 Jun 2025 20:04:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750881882; 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=V/QzfIWLXbwvz7Dw8uzNR7ECvrihZRE7xlH/O3bN1HY=; b=gaTeipG8BxzO9BDUV4MBP5YIkGRmN4nfb0twVnaI+4iPLe/Fh3ChQWZX4Hg1dwvlOETtQQ m5o5yDrH82JBWtMpMl3Uxuy4QpHPkItAeV0ohZzFJoUQJPUh/OsJv0IEMnuF7uEi8KayHQ qhutC9ERNIPaLGGsTaa32K6nTYm0J+kg3sDUHc8AMNNos/nq7F4CTSEYVCUEE9PNrsO3tP aUt58Hd2MMcM2raK02B3YukqbpMUGDpaZkGiP/dgGsWroQYgQ8zOoWWzWVZm5rOWG6detz EXpUJH6/g+t7nrvIcvEQiaRQkFgYmvo/F/qM8M4bAdRoLoxGFRy8H/IG0jRw2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1750881882; 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=V/QzfIWLXbwvz7Dw8uzNR7ECvrihZRE7xlH/O3bN1HY=; b=sdaj0zT0AZqt5fvpyN5zdK0UrcQIJuJbL+7JgAY8ewqU9Zo/VWTjCO8qyyf93Ic0d6JU28 eEZslnjA2grLm85nGKZnmuDpg/p199mV80w+Qs7fa4GZj784ppaYa94PUh6Rys+MI4MRDu afN7lrTblh1Y2JzhhEBld+JenBbUaMV5UeDjPw92X7nno5I42lpEXMgqGUWTa7kL/415dm 3X0eKFO3IT+gQEU4wVCrAncanPuyI8iPbOQ6DTXSBoU7UvVtegoTE9G4s+mU1A/Sp1rfJ3 BNKn/zIG5Bxo3nEV/VAvf7UtuWezJKkGzWF+6XASNoK5WbN0AHS1YKBNEurC/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1750881882; a=rsa-sha256; cv=none; b=P2/hwdW4WdRPiE6gP2t/N6q0qKGhF/0XHo9qD4DT7DEZ9pHaWzvAK6LOKB5wgjDDZGU/Um gObKK5eUqZgBMQiNJbP5VbGgfbLM1FdWilyyig9Wy4eijjEeVuXt/t2gRSDATRYbTbRNxV qZ3XdAqxLoL4wQzvECPIIzG8oSejSJ2eYb2UFfPp2rKkYsdlj37IWXTtntppNGbSiWAhi1 fJcvCHzgTcu6Z5BDTznezklYJL/2PvXOnyXpdHAX3x4BY53Wm9+SWRwbiyLdfCvhT+vRn0 B/QyWoJbRytXFFPxZc+r7B7x/BXWnQ20C7Ou9zmgHiOXSjXJbO1DX4tv/x419A== 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 4bSCTQ4tSZzXnW; Wed, 25 Jun 2025 20:04:42 +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 55PK4gU7080634; Wed, 25 Jun 2025 20:04:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55PK4gmU080631; Wed, 25 Jun 2025 20:04:42 GMT (envelope-from git) Date: Wed, 25 Jun 2025 20:04:42 GMT Message-Id: <202506252004.55PK4gmU080631@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: 87adb6ab7660 - main - pfctl: nested anchors vs. pfctl/parse.y 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: 87adb6ab7660ac32237bc6e5976b0d01fff316b9 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=87adb6ab7660ac32237bc6e5976b0d01fff316b9 commit 87adb6ab7660ac32237bc6e5976b0d01fff316b9 Author: Kristof Provost AuthorDate: 2025-06-17 09:24:31 +0000 Commit: Kristof Provost CommitDate: 2025-06-25 20:04:15 +0000 pfctl: nested anchors vs. pfctl/parse.y bug reported and fix tested by Leonardo Guardati OK bluhm@ Obtained from: OpenBSD, sashan , aeb2b655bc Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 5d4d2b86fd58..0af53e2692d7 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -5548,7 +5548,7 @@ process_tabledef(char *name, struct table_opts *opts, int popts) &opts->init_nodes); if (!(pf->opts & PF_OPT_NOACTION) && pfctl_define_table(name, opts->flags, opts->init_addr, - pf->anchor->name, &ab, pf->anchor->ruleset.tticket)) { + pf->anchor->path, &ab, pf->anchor->ruleset.tticket)) { if (sysctlbyname("net.pf.request_maxcount", &maxcount, &s, NULL, 0) == -1)