svn commit: r353082 - stable/11/contrib/ipfilter/tools

Cy Schubert cy at FreeBSD.org
Fri Oct 4 01:56:22 UTC 2019


Author: cy
Date: Fri Oct  4 01:56:21 2019
New Revision: 353082
URL: https://svnweb.freebsd.org/changeset/base/353082

Log:
  MFC r319929:
  
  -n (do nothing) is not a commmand option.

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

Modified: stable/11/contrib/ipfilter/tools/ippool.c
==============================================================================
--- stable/11/contrib/ipfilter/tools/ippool.c	Fri Oct  4 01:55:03 2019	(r353081)
+++ stable/11/contrib/ipfilter/tools/ippool.c	Fri Oct  4 01:56:21 2019	(r353082)
@@ -93,7 +93,7 @@ main(argc, argv)
 
 	assigndefined(getenv("IPPOOL_PREDEFINED"));
 
-	switch (getopt(argc, argv, "aAf:FlnrRsv"))
+	switch (getopt(argc, argv, "aAf:FlrRsv"))
 	{
 	case 'a' :
 		err = poolnodecommand(0, argc, argv);
@@ -109,9 +109,6 @@ main(argc, argv)
 		break;
 	case 'l' :
 		err = poollist(argc, argv);
-		break;
-	case 'n' :
-		opts |= OPT_DONOTHING|OPT_DONTOPEN;
 		break;
 	case 'r' :
 		err = poolnodecommand(1, argc, argv);


More information about the svn-src-all mailing list