Subject: misc/26063: usage of routed(8) is outdated
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/26/2004 14:27:06
>Number:         26063
>Category:       misc
>Synopsis:       usage of routed(8) is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 05:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #33: Fri Jun 25 02:10:31 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	The usage of -F option is outdated.  `/mask' is missing.

>How-To-Repeat:

>Fix:
Index: main.c
===================================================================
RCS file: /cvs/cvsroot/src/sbin/routed/main.c,v
retrieving revision 1.36
diff -u -r1.36 main.c
--- main.c	27 Mar 2004 20:50:43 -0000	1.36
+++ main.c	26 Jun 2004 04:16:12 -0000
@@ -245,7 +245,7 @@
 	if (argc != 0) {
 usage:
 		logbad(0, "usage: routed [-sqdghmpAtv] [-T tracefile]"
-		       " [-F net[,metric]] [-P parms]");
+		       " [-F net[/mask,metric]] [-P parms]");
 	}
 	if (geteuid() != 0) {
 		if (verbose)

>Release-Note:
>Audit-Trail:
>Unformatted: