svn commit: r296806 - head/sys/netipsec

Robert Watson rwatson at FreeBSD.org
Sun Mar 13 19:27:47 UTC 2016


Author: rwatson
Date: Sun Mar 13 19:27:46 2016
New Revision: 296806
URL: https://svnweb.freebsd.org/changeset/base/296806

Log:
  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.

Modified:
  head/sys/netipsec/key.c

Modified: head/sys/netipsec/key.c
==============================================================================
--- head/sys/netipsec/key.c	Sun Mar 13 19:17:48 2016	(r296805)
+++ head/sys/netipsec/key.c	Sun Mar 13 19:27:46 2016	(r296806)
@@ -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


More information about the svn-src-head mailing list