aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2019-04-29 14:13:44 +0800
committerpi <pi@FreeBSD.org>2019-04-29 14:13:44 +0800
commit3153e2e25cc092ec3690414478c16775a9afb6a5 (patch)
tree5f3d6880b3a49587c4e586f94e299a36fd4a384c /net-mgmt
parent2e6f896fb276f9169e9a3a43c01725f959ba787a (diff)
downloadfreebsd-ports-gnome-3153e2e25cc092ec3690414478c16775a9afb6a5.tar.gz
freebsd-ports-gnome-3153e2e25cc092ec3690414478c16775a9afb6a5.tar.zst
freebsd-ports-gnome-3153e2e25cc092ec3690414478c16775a9afb6a5.zip
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>
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/arpwatch/files/patch-arpwatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-mgmt/arpwatch/files/patch-arpwatch.c b/net-mgmt/arpwatch/files/patch-arpwatch.c
index 99599e318aa9..427ed5554b4d 100644
--- a/net-mgmt/arpwatch/files/patch-arpwatch.c
+++ b/net-mgmt/arpwatch/files/patch-arpwatch.c
@@ -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':