summaryrefslogtreecommitdiffstats
path: root/ntpd/ntp_timer.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2009-12-12 22:29:30 +0000
committerroberto <roberto@FreeBSD.org>2009-12-12 22:29:30 +0000
commit76d0d9559c6c64adb0eec290749ddb0bc85c99ec (patch)
tree5a9f13891d1608baf9ad2436ec526b57ad47d3e6 /ntpd/ntp_timer.c
parentc5461d7d838ecf010f9a551e548b1330f2201aaa (diff)
downloadFreeBSD-src-76d0d9559c6c64adb0eec290749ddb0bc85c99ec.zip
FreeBSD-src-76d0d9559c6c64adb0eec290749ddb0bc85c99ec.tar.gz
Update ntp vendor code to 4.2.4p8.
This is mainly to fix CVE-2009-3563, a remote DOS. MFC after: 3 days Security: CVE-2009-3563
Diffstat (limited to 'ntpd/ntp_timer.c')
-rw-r--r--ntpd/ntp_timer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ntpd/ntp_timer.c b/ntpd/ntp_timer.c
index fb6de70..812206a 100644
--- a/ntpd/ntp_timer.c
+++ b/ntpd/ntp_timer.c
@@ -343,12 +343,10 @@ timer(void)
* interface update timer
*/
if (interface_interval && interface_timer <= current_time) {
+
timer_interfacetimeout(current_time + interface_interval);
-#ifdef DEBUG
- if (debug)
- printf("timer: interface update\n");
-#endif
- interface_update(NULL, NULL);
+ DPRINTF(1, ("timer: interface update\n"));
+ interface_update(NULL, NULL);
}
/*
OpenPOWER on IntegriCloud