Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2019 01:28:14 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r349182 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet
Message-ID:  <201906190128.x5J1SEiM040927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Wed Jun 19 01:28:13 2019
New Revision: 349182
URL: https://svnweb.freebsd.org/changeset/base/349182

Log:
  MFC r348985:
  
  Enclose a long multi-line single conditional statement in braces to
  improve legibility and aesthetics.

Modified:
  stable/12/sys/contrib/ipfilter/netinet/mlfk_ipl.c
Directory Properties:
  stable/12/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/contrib/ipfilter/netinet/mlfk_ipl.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/12/sys/contrib/ipfilter/netinet/mlfk_ipl.c
==============================================================================
--- stable/12/sys/contrib/ipfilter/netinet/mlfk_ipl.c	Wed Jun 19 00:37:54 2019	(r349181)
+++ stable/12/sys/contrib/ipfilter/netinet/mlfk_ipl.c	Wed Jun 19 01:28:13 2019	(r349182)
@@ -211,7 +211,7 @@ vnet_ipf_init(void)
 	else
 		defpass = "no-match -> block";
 
-	if (IS_DEFAULT_VNET(curvnet))
+	if (IS_DEFAULT_VNET(curvnet)) {
 	    printf("%s initialized.  Default = %s all, Logging = %s%s\n",
 		ipfilter_version, defpass,
 #ifdef IPFILTER_LOG
@@ -225,6 +225,7 @@ vnet_ipf_init(void)
 		""
 #endif
 		);
+	}
 }
 VNET_SYSINIT(vnet_ipf_init, SI_SUB_PROTO_FIREWALL, SI_ORDER_THIRD,
     vnet_ipf_init, NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906190128.x5J1SEiM040927>