svn commit: r313461 - in stable: 10/contrib/ipfilter/tools 11/contrib/ipfilter/tools

Cy Schubert cy at FreeBSD.org
Thu Feb 9 02:08:44 UTC 2017


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/10/contrib/ipfilter/tools/ipf.c
Directory Properties:
  stable/10/   (props changed)

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

Modified: stable/10/contrib/ipfilter/tools/ipf.c
==============================================================================
--- stable/10/contrib/ipfilter/tools/ipf.c	Thu Feb  9 00:28:03 2017	(r313460)
+++ stable/10/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;


More information about the svn-src-stable-10 mailing list