Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 00:28:41 +0000 (UTC)
From:      Ed Maste <emaste@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: r364851 - stable/12/sys/netpfil/ipfw
Message-ID:  <202008270028.07R0SfLn099263@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Aug 27 00:28:41 2020
New Revision: 364851
URL: https://svnweb.freebsd.org/changeset/base/364851

Log:
  MFC r364426: ipfw: style(9) fixes
  
  Submitted by:	Neel Chauhan <neel AT neelc DOT org>

Modified:
  stable/12/sys/netpfil/ipfw/ip_fw2.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/netpfil/ipfw/ip_fw2.c
==============================================================================
--- stable/12/sys/netpfil/ipfw/ip_fw2.c	Thu Aug 27 00:17:17 2020	(r364850)
+++ stable/12/sys/netpfil/ipfw/ip_fw2.c	Thu Aug 27 00:28:41 2020	(r364851)
@@ -754,17 +754,17 @@ ipfw_send_pkt(struct mbuf *replyto, struct ipfw_flow_i
  * ipv6 specific rules here...
  */
 static __inline int
-icmp6type_match (int type, ipfw_insn_u32 *cmd)
+icmp6type_match(int type, ipfw_insn_u32 *cmd)
 {
 	return (type <= ICMP6_MAXTYPE && (cmd->d[type/32] & (1<<(type%32)) ) );
 }
 
 static int
-flow6id_match( int curr_flow, ipfw_insn_u32 *cmd )
+flow6id_match(int curr_flow, ipfw_insn_u32 *cmd)
 {
 	int i;
-	for (i=0; i <= cmd->o.arg1; ++i )
-		if (curr_flow == cmd->d[i] )
+	for (i=0; i <= cmd->o.arg1; ++i)
+		if (curr_flow == cmd->d[i])
 			return 1;
 	return 0;
 }



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