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); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"