diff options
author | Luiz Otavio O Souza <luiz@netgate.com> | 2016-02-11 07:35:01 -0600 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-07-17 15:14:34 -0500 |
commit | 86337e914d8efd35e892fc09af473bc8bd0418cf (patch) | |
tree | 04d1c4deea1c33f3ceb02667df3111367d2cd927 | |
parent | 15fd75733c14dd97a7e47ac0513cf1cdaaa26e7b (diff) | |
download | FreeBSD-src-86337e914d8efd35e892fc09af473bc8bd0418cf.zip FreeBSD-src-86337e914d8efd35e892fc09af473bc8bd0418cf.tar.gz |
Reduce the console spam. Only print this warning when boot verbose is enabled.
This can get pretty annoying (and useless) in some systems.
Ticket #4219
(cherry picked from commit 3469b6e4cbedf6789ee84a4ad5ce13a9286c971e)
Ticket #7117
(cherry picked from commit c941deabf9dd3d86632ccfdade9dd6752e61978e)
-rw-r--r-- | sys/netpfil/ipfw/ip_dummynet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_dummynet.c b/sys/netpfil/ipfw/ip_dummynet.c index 6e06c65..9fdcc13 100644 --- a/sys/netpfil/ipfw/ip_dummynet.c +++ b/sys/netpfil/ipfw/ip_dummynet.c @@ -153,7 +153,7 @@ ipdn_bound_var(int *v, int dflt, int lo, int hi, const char *msg) op = "Clamp"; } else return *v; - if (op && msg) + if (op && msg && bootverbose) printf("%s %s to %d (was %d)\n", op, msg, *v, oldv); return *v; } |