diff options
author | gnn <gnn@FreeBSD.org> | 2016-03-03 23:25:31 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2016-03-03 23:25:31 +0000 |
commit | a80787b3cf391d64d553b56692582daf4b07b78f (patch) | |
tree | 0c4a50894d2960ed4cc962d272f71ebda626736b /sbin | |
parent | 2667c3d5fbaef4a37daa33b9e899e7bd2070cf31 (diff) | |
download | FreeBSD-src-a80787b3cf391d64d553b56692582daf4b07b78f.zip FreeBSD-src-a80787b3cf391d64d553b56692582daf4b07b78f.tar.gz |
MFC 285730
Only report the lack of ALTQ support if pfctl is using verbose (-v) mode.
PR: 194935
Submitted by: Jim Thompson
Approved by: re (gjb)
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 f8802b3..ea95320 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1930,7 +1930,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); |