From owner-freebsd-bugs Fri May 24 21:20:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0D6DB37B409 for ; Fri, 24 May 2002 21:20:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4P4K3G66897; Fri, 24 May 2002 21:20:03 -0700 (PDT) (envelope-from gnats) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id C757837B40F for ; Fri, 24 May 2002 21:18:22 -0700 (PDT) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.12.3/8.12.3) with ESMTP id g4P4IGb2051032 for ; Sat, 25 May 2002 12:18:16 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.12.3/8.12.3/Submit) id g4P4IGs0051031; Sat, 25 May 2002 12:18:16 +0800 (KRAST) Message-Id: <200205250418.g4P4IGs0051031@www.svzserv.kemerovo.su> Date: Sat, 25 May 2002 12:18:16 +0800 (KRAST) From: Eugene Grosbein Reply-To: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/38531: route(8) fails to suppress output Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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