Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 06:13:44 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500381 - head/net-mgmt/arpwatch/files
Message-ID:  <201904290613.x3T6Divr055191@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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':



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