Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2001 05:20:17 -0700 (PDT)
From:      Igor M Podlesny <poige@morning.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/29276: netstat -i gives no respect to -f, -p despite of man describe it as giving...
Message-ID:  <200107281220.f6SCKH359143@freefall.freebsd.org>

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

>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




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