Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 02:08:42 +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: r313461 - in stable: 10/contrib/ipfilter/tools 11/contrib/ipfilter/tools
Message-ID:  <201702090208.v1928gTJ090424@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Feb  9 02:08:42 2017
New Revision: 313461
URL: https://svnweb.freebsd.org/changeset/base/313461

Log:
  MFC r312791:
  
  Use normal KNF cuddling of elses.
  
  Reported by:	bde

Modified:
  stable/11/contrib/ipfilter/tools/ipf.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/contrib/ipfilter/tools/ipf.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/contrib/ipfilter/tools/ipf.c
==============================================================================
--- stable/11/contrib/ipfilter/tools/ipf.c	Thu Feb  9 00:28:03 2017	(r313460)
+++ stable/11/contrib/ipfilter/tools/ipf.c	Thu Feb  9 02:08:42 2017	(r313461)
@@ -408,8 +408,7 @@ static void flushfilter(arg, filter)
 		}
 		closedevice();
 		return;
-	}
-	else if (strchr(arg, 'i') || strchr(arg, 'I'))
+	} else if (strchr(arg, 'i') || strchr(arg, 'I'))
 		fl = FR_INQUE;
 	else if (strchr(arg, 'o') || strchr(arg, 'O'))
 		fl = FR_OUTQUE;



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