PERFORCE change 146263 for review
Gleb Kurtsou
gk at FreeBSD.org
Wed Jul 30 19:49:39 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=146263
Change 146263 by gk at gk_h1 on 2008/07/30 19:48:56
print that annoying 'No ALTQ support in kernel.' message only if verbose option specified
use one line instead of two.
Affected files ...
.. //depot/projects/soc2008/gk_l2filter/sbin-pfctl/pfctl.c#2 edit
Differences ...
==== //depot/projects/soc2008/gk_l2filter/sbin-pfctl/pfctl.c#2 (text+ko) ====
@@ -1902,8 +1902,8 @@
if (ioctl(dev, DIOCGETALTQS, &pa)) {
if (errno == ENODEV) {
- if (!(opts & PF_OPT_QUIET))
- fprintf(stderr, "No ALTQ support in kernel\n"
+ if (opts & PF_OPT_VERBOSE)
+ fprintf(stderr, "No ALTQ support in kernel. "
"ALTQ related functions disabled\n");
return (0);
} else
More information about the p4-projects
mailing list