From owner-freebsd-bugs Sat Jul 28 5:30: 7 2001 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 33A8F37B405 for ; Sat, 28 Jul 2001 05:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6SCU0W60903; Sat, 28 Jul 2001 05:30:00 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B87CA37B405 for ; Sat, 28 Jul 2001 05:20:17 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6SCKH359143; Sat, 28 Jul 2001 05:20:17 -0700 (PDT) (envelope-from nobody) Message-Id: <200107281220.f6SCKH359143@freefall.freebsd.org> Date: Sat, 28 Jul 2001 05:20:17 -0700 (PDT) From: Igor M Podlesny To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/29276: netstat -i gives no respect to -f, -p despite of man describe it as giving... 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: 29276 >Category: misc >Synopsis: netstat -i gives no respect to -f, -p despite of man describe it as giving... >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: Sat Jul 28 05:30:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Igor M Podlesny >Release: 4.3-STABLE >Organization: Morning Network >Environment: FreeBSD myhost 4.3-STABLE FreeBSD 4.3-STABLE #0: Thu Jul 26 19:14:13 KRAST 2001 and so on... >Description: man 8 netstat says (in -i paragraph) that "...if the -f address_family option (with the -s option) or the -p protocol option is present, show per-interface statistics on all interfaces for the specfied address_family or protocol, respectively..." in fact it doesn't. >How-To-Repeat: You may use diff <(netstat -n -f inet -i) <(netstat -n -i) and it won't give and difference hence... >Fix: Re-writing either netstat or it's man page. May be even them both, cause they both are really out of sync with reality. (for e.g., netstat -abadopt gives the "usage" and "usage" says nothing bout -i) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message