diff options
author | Kristof Provost <kp@FreeBSD.org> | 2025-02-03 13:08:17 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2025-02-06 14:00:05 +0000 |
commit | 97823244bd21c1161b17169af3cd47b717cb4bcb (patch) | |
tree | 0b7d4608e9955d593c46e65f61000a754fcc842c /sbin | |
parent | ebfcaba16943f2d122d8aa66e50aa965a7f1b86f (diff) |
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")
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/pfctl/pfctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |