From 25398c345199a2001b8ee0dc8dbf0511737c6588 Mon Sep 17 00:00:00 2001 From: gnn Date: Thu, 3 Mar 2016 23:25:31 +0000 Subject: [PATCH] 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) git-svn-id: svn://svn.freebsd.org/base/stable/10@296370 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- 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 f8802b364..ea95320dd 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); -- 2.45.0