diff options
author | luigi <luigi@FreeBSD.org> | 2002-07-24 02:41:19 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2002-07-24 02:41:19 +0000 |
commit | ccc9f3815e7af0c92ecbd5c93328262a5a5f246e (patch) | |
tree | ab244c9cbd701a30369f451b74fb8b31f4278505 /sys | |
parent | 9c6ea7014edab1af5e2d1d262e39b740fd40312e (diff) | |
download | FreeBSD-src-ccc9f3815e7af0c92ecbd5c93328262a5a5f246e.zip FreeBSD-src-ccc9f3815e7af0c92ecbd5c93328262a5a5f246e.tar.gz |
Only log things net.inet.ip.fw.verbose is set
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_fw2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |