summaryrefslogtreecommitdiffstats
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-12 11:01:48 -0500
commit9250bbe166ee8659d46891c69be77edf5fc94184 (patch)
tree24882b6e62f4fc4caa42c254f53c26ca79e9bfed
parentebf6680ee900f85ebe4e6493cfd7257809fded01 (diff)
downloadFreeBSD-src-9250bbe166ee8659d46891c69be77edf5fc94184.zip
FreeBSD-src-9250bbe166ee8659d46891c69be77edf5fc94184.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 (cherry picked from commit 16348e7e1c1d4fb0de01bf45b6646f8a258b613b)
-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 f875c39..f13d42c 100644
--- a/sys/netipsec/key.c
+++ b/sys/netipsec/key.c
@@ -7640,7 +7640,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