diff options
author | 2012-09-19 15:52:17 +0000 | |
---|---|---|
committer | 2012-09-19 15:52:17 +0000 | |
commit | d200c05e6c0b0f50b5e9ef938d8ad3aaaf6d95fe (patch) | |
tree | 201528f82e61496f503f308e4fb8d1cdedbe9c04 | |
parent | inherit IFCAP_CSUM_* from the parent interface (diff) | |
download | wireguard-openbsd-d200c05e6c0b0f50b5e9ef938d8ad3aaaf6d95fe.tar.xz wireguard-openbsd-d200c05e6c0b0f50b5e9ef938d8ad3aaaf6d95fe.zip |
Show which limit cannot be set. idea mikeb
ok mikeb henning beck
-rw-r--r-- | sbin/pfctl/pfctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index 815ecba6c1c..a7b415867cb 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.313 2012/07/26 11:48:00 mikeb Exp $ */ +/* $OpenBSD: pfctl.c,v 1.314 2012/09/19 15:52:17 camield Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1539,7 +1539,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); |