tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Let's not count unknown ethertypes as interface errors?
martin%duskware.de@localhost (Martin Husemann) writes:
>Several easy solutions:
> - like the comment says: create a special "unknown protocols" counter
> and use that for this case, leaving the other "goto drop;" in that
> function still increase ierrors
> - just delete the last line (if_statinc) here - no real error to be seen,
> just ignore it silentely
We only have one (input) interface error counter, and that counts dropped
packets for many reasons.
So either you need another per-interface counter to distinguish
the reason why things got dropped, probably too much of a change,
or keep the single counter for all reasons.
I would add a global counter and/or a histogram to report "unknown protocols"
(or all protocols).
--
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
Home |
Main Index |
Thread Index |
Old Index