Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2019 02:46:26 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349978 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201907140246.x6E2kQd9041071@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Sun Jul 14 02:46:26 2019
New Revision: 349978
URL: https://svnweb.freebsd.org/changeset/base/349978

Log:
  style(9)
  
  MFC after:	3 days

Modified:
  head/sys/contrib/ipfilter/netinet/fil.c

Modified: head/sys/contrib/ipfilter/netinet/fil.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/fil.c	Sat Jul 13 21:41:12 2019	(r349977)
+++ head/sys/contrib/ipfilter/netinet/fil.c	Sun Jul 14 02:46:26 2019	(r349978)
@@ -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?201907140246.x6E2kQd9041071>