1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

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>
This commit is contained in:
Kurt Jaeger 2019-04-29 06:13:44 +00:00
parent 27b8e8eb93
commit 578fa23153
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500381

View File

@ -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':