svn commit: r285730 - head/sbin/pfctl
George V. Neville-Neil
gnn at FreeBSD.org
Mon Jul 20 23:24:27 UTC 2015
Author: gnn
Date: Mon Jul 20 23:24:25 2015
New Revision: 285730
URL: https://svnweb.freebsd.org/changeset/base/285730
Log:
Only report the lack of ALTQ support if pfctl is using verbose (-v) mode.
PR: 194935
Submitted by: Jim Thompson
MFC after: 2 weeks
Modified:
head/sbin/pfctl/pfctl.c
Modified: head/sbin/pfctl/pfctl.c
==============================================================================
--- head/sbin/pfctl/pfctl.c Mon Jul 20 22:32:43 2015 (r285729)
+++ head/sbin/pfctl/pfctl.c Mon Jul 20 23:24:25 2015 (r285730)
@@ -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);
More information about the svn-src-all
mailing list