summaryrefslogtreecommitdiffstats
path: root/sys/netipsec
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2016-05-11 13:20:40 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2016-05-11 17:02:16 -0500
commit16348e7e1c1d4fb0de01bf45b6646f8a258b613b (patch)
treef04c67954c1f0c16060d23cdb15bfc2fb465a656 /sys/netipsec
parentb2f9e794c95db742bed25781e3287d5f53111edb (diff)
downloadFreeBSD-src-16348e7e1c1d4fb0de01bf45b6646f8a258b613b.zip
FreeBSD-src-16348e7e1c1d4fb0de01bf45b6646f8a258b613b.tar.gz
MFC r296806:
Put IPSec's anouncement of its successful intialisation under bootverbose: now that it's a default kernel option, we don't really need to tell the world about it on every boot, especially as it won't be used by most users. TAG: IPSEC-HEAD
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/key.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netipsec/key.c b/sys/netipsec/key.c
index df6cd3e..7e547a1 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -7639,7 +7639,8 @@ key_init(void)
/* initialize key statistics */
keystat.getspi_count = 1;
- printf("IPsec: Initialized Security Association Processing.\n");
+ if (bootverbose)
+ printf("IPsec: Initialized Security Association Processing.\n");
}
#ifdef VIMAGE
OpenPOWER on IntegriCloud