net-snmp uses gettimeofday instead of clock_gettime()

Dirk Buijsman <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
net-snmp seems to use the function "gettimeofday" (see snmp_api.c) to find out how much time remains until the next timeout. However, this function is not safe as the systemclock could be adjusted by NTP.... The recommended way to do timing seems to be "clock_gettime()".
Is this something worth modifying?
Cheers,Dirk

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.