From ccc9f3815e7af0c92ecbd5c93328262a5a5f246e Mon Sep 17 00:00:00 2001 From: luigi Date: Wed, 24 Jul 2002 02:41:19 +0000 Subject: Only log things net.inet.ip.fw.verbose is set --- sys/netinet/ip_fw2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index efda43d..a8c9e1a 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -1686,7 +1686,8 @@ check_body: break; case O_LOG: - ipfw_log(f, hlen, args->eh, m, oif); + if (fw_verbose) + ipfw_log(f, hlen, args->eh, m, oif); match = 1; break; -- cgit v1.1