Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 22:17:25 +0200
From:      Attilio Rao <attilio@freebsd.org>
To:        Alan Somers <asomers@freebsd.org>
Cc:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: netstat -i[d] violates PoLS
Message-ID:  <CAJ-FndDwWe5ZNxOw=1KP=T7H4=j-eRE89%2BDadyEHMJ6qJe7DVA@mail.gmail.com>
In-Reply-To: <CAOtMX2iNkohdeQLp_cR2iNTpQ1qva3cp%2BpfpWDHwJ_KHKUTiAg@mail.gmail.com>
References:  <CAOtMX2iNkohdeQLp_cR2iNTpQ1qva3cp%2BpfpWDHwJ_KHKUTiAg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 31, 2014 at 10:03 PM, Alan Somers <asomers@freebsd.org> wrote:
> "netstat -i" prints dropped output packets iff you also use "-d".
> Starting with r199803 on 2009-11-25, "netstat -i" prints dropped input
> packets regardless of the "-d" flags.  That is a PoLS violation, IMHO.
>  I think that the "-d" flag should control printing of dropped input
> packets as well as dropped output packets.

I don't have any time to look into this, so please fix it as you
prefer for the time being.

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndDwWe5ZNxOw=1KP=T7H4=j-eRE89%2BDadyEHMJ6qJe7DVA>