netstat -i[d] violates PoLS

Attilio Rao attilio at freebsd.org
Mon Mar 31 20:17:28 UTC 2014


On Mon, Mar 31, 2014 at 10:03 PM, Alan Somers <asomers at 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


More information about the freebsd-net mailing list