From 79c4729bf76da6927b01994ea4e21a15865a510b Mon Sep 17 00:00:00 2001 From: Xin Li Date: Fri, 16 Dec 2011 13:26:04 -0800 Subject: [PATCH 10/65] Don't complain about missing ALTQ. It's not that horrible. --- contrib/pf/pfctl/pfctl.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/contrib/pf/pfctl/pfctl.c b/contrib/pf/pfctl/pfctl.c index 8b07a2b..29a0f04 100644 --- a/contrib/pf/pfctl/pfctl.c +++ b/contrib/pf/pfctl/pfctl.c @@ -1945,9 +1945,11 @@ pfctl_test_altqsupport(int dev, int opts) if (ioctl(dev, DIOCGETALTQS, &pa)) { if (errno == ENODEV) { +#if 0 if (!(opts & PF_OPT_QUIET)) fprintf(stderr, "No ALTQ support in kernel\n" "ALTQ related functions disabled\n"); +#endif return (0); } else err(1, "DIOCGETALTQS"); -- 1.7.8.3