diff options
author | harti <harti@FreeBSD.org> | 2005-05-23 11:19:11 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-05-23 11:19:11 +0000 |
commit | a585c860e6a23a65af9f6a881ca7c5686cad63a4 (patch) | |
tree | 72add746df3bdc73ab6efb3b2c8f858844a53220 /contrib/bsnmp/snmp_ntp | |
parent | 8bf5d359a297f85eced632d52abdb72d334412c5 (diff) | |
download | FreeBSD-src-a585c860e6a23a65af9f6a881ca7c5686cad63a4.zip FreeBSD-src-a585c860e6a23a65af9f6a881ca7c5686cad63a4.tar.gz |
Virgin import of bsnmpd 1.10
Diffstat (limited to 'contrib/bsnmp/snmp_ntp')
-rw-r--r-- | contrib/bsnmp/snmp_ntp/snmp_ntp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/bsnmp/snmp_ntp/snmp_ntp.c b/contrib/bsnmp/snmp_ntp/snmp_ntp.c index e8b7c0c..edfb736 100644 --- a/contrib/bsnmp/snmp_ntp/snmp_ntp.c +++ b/contrib/bsnmp/snmp_ntp/snmp_ntp.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Begemot: bsnmp/snmp_ntp/snmp_ntp.c,v 1.3 2005/04/26 16:26:23 brandt_h Exp $ + * $Begemot: bsnmp/snmp_ntp/snmp_ntp.c,v 1.4 2005/05/23 09:03:48 brandt_h Exp $ * * NTP interface for SNMPd. */ @@ -79,7 +79,7 @@ static const struct asn_oid oid_ntpMIB = OIDX_ntpMIB; static u_int reg_index; /* last time we've fetch the system variables */ -static uint32_t sysinfo_tick; +static uint64_t sysinfo_tick; /* cached system variables */ static int32_t sys_leap; @@ -107,7 +107,7 @@ static int sysb_stability; static double sys_stability; /* last time we've fetch the peer list */ -static uint32_t peers_tick; +static uint64_t peers_tick; /* request sequence number generator */ static uint16_t seqno; |