Menu

#958 Enable 64-bit counters in if-mib with sysctl backend

closed
nobody
None
5
2012-11-08
2008-12-16
Jan Andres
No

With the current implementation of the sysctl (*BSD) backend of if-mib, the counters in ifXTable are truncated to 32-bit even if the OS's interface counters in struct if_data are actually 64-bit values (which they are at least on NetBSD). This patch fixes that issue. It shouldn't make any difference to OSes where the counters are smaller than 64 bits.

Applies to SVN trunk as of revision 17324.

Tested on NetBSD 4.99.54 on alpha architecture with patch 2435681 applied.

Discussion

  • Jan Andres

    Jan Andres - 2008-12-16

    the patch

     
  • Dave Shield

    Dave Shield - 2009-04-09

    Thanks for the patch! It has been applied to the 5.4.x
    code branch and the main development tree, and will
    appear in future releases of the Net-SNMP package.

     
  • Dave Shield

    Dave Shield - 2009-04-09

    SVN revision 17481

     

Log in to post a comment.