svn commit: r500381 - head/net-mgmt/arpwatch/files

Kurt Jaeger pi at FreeBSD.org
Mon Apr 29 06:13:45 UTC 2019


Author: pi
Date: Mon Apr 29 06:13:44 2019
New Revision: 500381
URL: https://svnweb.freebsd.org/changeset/ports/500381

Log:
  net-mgmt/arpwatch: missing -v flag in getopt()
  
  - The -v flag disables reporting on VRRP/CARP ethernet prefixes..."
    in ports r420995, but the getopt() optstring is missing the 'v' so
    the case is never matched.
  
  PR:		235415
  Submitted by:	Art Manion <traulam at gmail.com>

Modified:
  head/net-mgmt/arpwatch/files/patch-arpwatch.c

Modified: head/net-mgmt/arpwatch/files/patch-arpwatch.c
==============================================================================
--- head/net-mgmt/arpwatch/files/patch-arpwatch.c	Mon Apr 29 05:40:45 2019	(r500380)
+++ head/net-mgmt/arpwatch/files/patch-arpwatch.c	Mon Apr 29 06:13:44 2019	(r500381)
@@ -14,7 +14,7 @@
  	rfilename = NULL;
  	pd = NULL;
 -	while ((op = getopt(argc, argv, "df:i:n:Nr:")) != EOF)
-+	while ((op = getopt(argc, argv, "dzf:i:m:n:Nr:")) != EOF)
++	while ((op = getopt(argc, argv, "dvzf:i:m:n:Nr:")) != EOF)
  		switch (op) {
  
  		case 'd':


More information about the svn-ports-all mailing list