Re: CVS commit: src/sbin/ifconfig
Martin Husemann <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 12, 2003 at 01:30:32PM -0700, Bill Studenmund wrote: > > Havard Eidnes <[email protected]> writes: > > > If this does what I think it does (after browsing the code, I think it > > > does), zeroing the packet statistics will break the monotonous > > > increase of counters restriction imposed on SNMP agents > So what do other *BSDs do? I figure we need to come up with a new > read-stats ioctl that will get the monotonic value. What name(s) are in > use now? Why bloat the kernel more instead of having the SNMP daemon take care of it? Or root? The counters will wrap anyway, if not reset. Why should root (who might know this machine is not running any SNMP stuff) not be allowed to reset this counters? Martin (not running any SNMP stuff)