From nobody Sat Jul 12 13:38:47 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 4bfV6J4yS0z61sp1; Sat, 12 Jul 2025 13:38:48 +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 4bfV6J0pfwz3ChQ; Sat, 12 Jul 2025 13:38:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752327528; 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=pXIVuicZApNLZaAZe8JLR8OXozCF/NTiB3jSvThQ0Hs=; b=pUTfFGipwCJ7YJrTR17ZUdAuGgSYFQKJhSTxgisvmrQizf4GAm+q2pzlB3iLPb9ZLTZF87 KkHcprYbP7QsC5bI8q75+oe4hJw/2Jin8hayZM24u7vZLAXYQW69dRudZ1Q8a4bJ/c4Xxa KhaAPrPrGhWOuSp3M3Gjse1NJ+bFJ6ITXCWLHghapS1zUjfZL+HNKIzp9YnQfbILRXfIHR vdrVNtD+LftScuBW2ruu5hoTunRWTAKXs4DEEtWmNGiSQE0dl0tm0znszpG3MxE0oogw9R xRIzPVzLKA7EhSuQg3bUAgn3yOtjx5pKJsIMvyfVH+qUTuqSFvTjFUF/CGfsWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752327528; 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=pXIVuicZApNLZaAZe8JLR8OXozCF/NTiB3jSvThQ0Hs=; b=lOkuUwx3Ybi4ort4vHTGCv4cGg7XErSgWvzPao8dFDTjb6j4BMmNsNRKIdytor3/+3JwCR TRRWuuZjmkd/6BuZgeYQWiIFqNleKEOJfTsfy71ubE3TMbx+al11t1m/oqE3+l0sVBLAI8 LJN/l7FiC180G7Kwxn602VuG8xJMTMGE/4DNMmy4Cc+73Gf1vK02EiCSC3pdxJ+dwHr5MC T3kWw2fxWkjLGa1uoNyxg8+xmh1yufPvolBLoGH0VqAyVOTQHREONyLlXrXKucRy6ibObL 89ZMPUQ8gU5Bpd05v8aH5o2/ndjgM8U6lTuDhQGEACenjpwFEum6W1k4h858IA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752327528; a=rsa-sha256; cv=none; b=iyqhyxPh/oFDOrrPmfkpswyxKMHVSBOB+xoDsVYg0AhnIkS5zEd7PCQfvduh+Rwgo7ayEO ecC9wjaoJo/sVkR5i96er6mqf7sWA70jxTpu3nYObw/u1TYiEqC1NWwf8FxhiLviIshD+W 447HP/H/NVGtWQV25j8gPw05usXaaClJb8KcbOIgy1QmoXWvtmfQ6SeQcoTEjN1eGAHcw2 Bfwnog+kuLVC+s4ONo0gJe1ZmCTx6EXY+PSXdVjqCLrmA12SPqE9GZM5OLufll1my/AvOt hoF0TbmigLS1vt7D1c4RNtibERkGYFIOl683H3NSGHL4jG3YChI95nkXVcJgGw== 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 4bfV6J0FK1z8mX; Sat, 12 Jul 2025 13:38:48 +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 56CDclUC088820; Sat, 12 Jul 2025 13:38:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56CDcl4q088817; Sat, 12 Jul 2025 13:38:47 GMT (envelope-from git) Date: Sat, 12 Jul 2025 13:38:47 GMT Message-Id: <202507121338.56CDcl4q088817@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: 8423b27345ce - main - pfctl: Refine error message 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: 8423b27345ceabc545e664b5e75952bb4bf8362e Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=8423b27345ceabc545e664b5e75952bb4bf8362e commit 8423b27345ceabc545e664b5e75952bb4bf8362e Author: Kristof Provost AuthorDate: 2025-07-07 06:30:12 +0000 Commit: Kristof Provost CommitDate: 2025-07-12 09:57:50 +0000 pfctl: Refine error message While code in pf/pfctl confusingly uses either anchor or ruleset depending on the context, pfctl(8) (both manual and user interface) should be consistent. For users there are basically anchors only, so do not imply any difference between the two terminologies. OK sashan Obtained from: OpenBSD, kn , 910e8feeb5 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/pfctl_radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/pfctl/pfctl_radix.c b/sbin/pfctl/pfctl_radix.c index 21191259adff..5f9f121bc81c 100644 --- a/sbin/pfctl/pfctl_radix.c +++ b/sbin/pfctl/pfctl_radix.c @@ -469,7 +469,7 @@ pfr_strerror(int errnum) case ESRCH: return "Table does not exist"; case ENOENT: - return "Anchor or Ruleset does not exist"; + return "Anchor does not exist"; default: return strerror(errnum); }