Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2019 01:05:33 +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-11@freebsd.org
Subject:   svn commit: r350073 - in stable: 11/sys/contrib/ipfilter/netinet 12/sys/contrib/ipfilter/netinet
Message-ID:  <201907170105.x6H15XPH046362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Wed Jul 17 01:05:33 2019
New Revision: 350073
URL: https://svnweb.freebsd.org/changeset/base/350073

Log:
  MFC r349978:
  
  style(9)

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

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

Modified: stable/11/sys/contrib/ipfilter/netinet/fil.c
==============================================================================
--- stable/11/sys/contrib/ipfilter/netinet/fil.c	Wed Jul 17 00:27:11 2019	(r350072)
+++ stable/11/sys/contrib/ipfilter/netinet/fil.c	Wed Jul 17 01:05:33 2019	(r350073)
@@ -4431,23 +4431,23 @@ static int
 ipf_rule_compare(frentry_t *fr1, frentry_t *fr2)
 {
 	if (fr1->fr_cksum != fr2->fr_cksum)
-		return 1;
+		return (1);
 	if (fr1->fr_size != fr2->fr_size)
-		return 2;
+		return (2);
 	if (fr1->fr_dsize != fr2->fr_dsize)
-		return 3;
+		return (3);
 	if (bcmp((char *)&fr1->fr_func, (char *)&fr2->fr_func,
 		 fr1->fr_size - offsetof(struct frentry, fr_func)) != 0)
-		return 4;
+		return (4);
 	if (fr1->fr_data && !fr2->fr_data)
-		return 5;
+		return (5);
 	if (!fr1->fr_data && fr2->fr_data)
-		return 6;
+		return (6);
 	if (fr1->fr_data) {
 		if (bcmp(fr1->fr_caddr, fr2->fr_caddr, fr1->fr_dsize))
-			return 7;
+			return (7);
 	}
-	return 0;
+	return (0);
 }
 
 



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