mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
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)
This commit is contained in:
parent
3921ce85a2
commit
2cbdc6bf5f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=296370
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user