summaryrefslogtreecommitdiffstats
path: root/sys/netpfil
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-02-11 07:35:01 -0600
committerLuiz Otavio O Souza <luiz@netgate.com>2016-02-11 07:35:01 -0600
commit3469b6e4cbedf6789ee84a4ad5ce13a9286c971e (patch)
treed4552ce9fc8bc7fd656e533e1b3df29559433aa9 /sys/netpfil
parent8af5a1ea8e519a20c3c5d49486319b443b4375da (diff)
downloadFreeBSD-src-3469b6e4cbedf6789ee84a4ad5ce13a9286c971e.zip
FreeBSD-src-3469b6e4cbedf6789ee84a4ad5ce13a9286c971e.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
Diffstat (limited to 'sys/netpfil')
-rw-r--r--sys/netpfil/ipfw/ip_dummynet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_dummynet.c b/sys/netpfil/ipfw/ip_dummynet.c
index b4b87c7..40b8e97 100644
--- a/sys/netpfil/ipfw/ip_dummynet.c
+++ b/sys/netpfil/ipfw/ip_dummynet.c
@@ -124,7 +124,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;
}
OpenPOWER on IntegriCloud