summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2015-07-20 23:24:25 +0000
committergnn <gnn@FreeBSD.org>2015-07-20 23:24:25 +0000
commit1c64df87f0d17f864e7b7a8653ea5589714998da (patch)
tree2fcefb7c40f3e1a525bde19bb98492793fabeb02 /sbin
parent30aa697d4c69b2ed01aea07e5636ba5d80b739fe (diff)
downloadFreeBSD-src-1c64df87f0d17f864e7b7a8653ea5589714998da.zip
FreeBSD-src-1c64df87f0d17f864e7b7a8653ea5589714998da.tar.gz
Only report the lack of ALTQ support if pfctl is using verbose (-v) mode.
PR: 194935 Submitted by: Jim Thompson MFC after: 2 weeks
Diffstat (limited to 'sbin')
-rw-r--r--sbin/pfctl/pfctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c
index c1ba12f..ea0064b 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1924,7 +1924,7 @@ pfctl_test_altqsupport(int dev, int opts)
if (ioctl(dev, DIOCGETALTQS, &pa)) {
if (errno == ENODEV) {
- if (!(opts & PF_OPT_QUIET))
+ if (opts & PF_OPT_VERBOSE)
fprintf(stderr, "No ALTQ support in kernel\n"
"ALTQ related functions disabled\n");
return (0);
OpenPOWER on IntegriCloud