Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 12:18:16 +0800 (KRAST)
From:      Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/38531: route(8) fails to suppress output
Message-ID:  <200205250418.g4P4IGs0051031@www.svzserv.kemerovo.su>

next in thread | raw e-mail | index | archive | help

>Number:         38531
>Category:       bin
>Synopsis:       route(8) fails to suppress output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 24 21:20:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eugene Grosbein
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
Svyaz Service
>Environment:
System: FreeBSD 4.6-PRERELEASE #1: Tue May 7 14:13:36 KRAST 2002

>Description:
	route.8 man page says that -q flag all suppress output.
	That's plain wrong: 'route -q add' and 'route -q delete'
	produces output.
 
>How-To-Repeat:
	route -q add 10.0.0.1 10.0.0.2
	route -q delete 10.0.0.1
 
>Fix:
	Workaround: use redirection to /dev/null

	Fix: route(8) source code is very inconsistent in sense of
	suppressing out. It's much simple to remove -q flag (make it noop)
	and fix man page than reimplement suppressing of output and
	keep error messages at the same time as it writes some errors to
	stdout instead of stderr.

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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