Date: Thu, 6 Feb 2025 14:00:19 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 97823244bd21 - main - pfctl: Show which limit cannot be set. Message-ID: <202502061400.516E0JtA023835@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=97823244bd21c1161b17169af3cd47b717cb4bcb commit 97823244bd21c1161b17169af3cd47b717cb4bcb Author: Kristof Provost <kp@FreeBSD.org> AuthorDate: 2025-02-03 13:08:17 +0000 Commit: Kristof Provost <kp@FreeBSD.org> CommitDate: 2025-02-06 14:00:05 +0000 pfctl: Show which limit cannot be set. idea mikeb ok mikeb henning beck Obtained from: OpenBSD, camield <camield@openbsd.org>, d200c05e6c Sponsored by: Rubicon Communications, LLC ("Netgate") --- sbin/pfctl/pfctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 11634c4d230e..48e1d0b833c5 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -2463,7 +2463,7 @@ pfctl_load_limit(struct pfctl *pf, unsigned int index, unsigned int limit) if (errno == EBUSY) warnx("Current pool size exceeds requested hard limit"); else - warnx("DIOCSETLIMIT"); + warnx("cannot set '%s' limit", pf_limits[index].name); return (1); } return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502061400.516E0JtA023835>