Subject: pkg/17848: arpwatch does not honor the -a flag
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wizard@sik.oulu.fi>
List: netbsd-bugs
Date: 08/05/2002 10:42:59
>Number:         17848
>Category:       pkg
>Synopsis:       arpwatch does not honor the -a flag
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 05 10:44:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tomi Nylund
>Release:        1.6BETA_4
>Organization:
Univ. of Oulu, Finland
>Environment:
>Description:
The arpwatch package does not honor the -a flag, as per manpage.
According to manpage, this should disable the check for local network,
however, if you try to use it, arpwatch produces an error message.
>How-To-Repeat:
1) Try to enable arpwatch with '/usr/pkg/sbin/arpwatch -a'

2) It fails with the following message:

testi-2:(root)/var/db/arpwatch# arpwatch -a
Version 2.1a11
usage: arpwatch [-dN] [-f datafile] [-i interface] [-n net[/width]] [-r file]
testi-2:(root)/var/db/arpwatch# 

>Fix:
Looking through the pkgsrc/net/arpwatch/patches/patch-ac , it looks
like someone added the description for -a flag to the manpage, but
forgot to add the related patch to patch the actual source code.
>Release-Note:
>Audit-Trail:
>Unformatted: