summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpd/ntp_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/ntpd/ntp_timer.c')
-rw-r--r--contrib/ntp/ntpd/ntp_timer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/ntp/ntpd/ntp_timer.c b/contrib/ntp/ntpd/ntp_timer.c
index fb6de70..812206a 100644
--- a/contrib/ntp/ntpd/ntp_timer.c
+++ b/contrib/ntp/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