diff options
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c index 62046dbb66..3516504a34 100644 --- a/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c +++ b/cpukit/libnetworking/rtems/rtems_dhcp_failsafe.c @@ -257,7 +257,7 @@ do_dhcp_init (struct rtems_bsdnet_ifconfig *ifp) { #if BROADCAST_DELAY /* Wait before sending broadcast. */ - rtems_task_wake_after(TOD_MILLISECONDS_TO_TICKS(BROADCAST_DELAY * 1000)); + rtems_task_wake_after(RTEMS_MILLISECONDS_TO_TICKS(BROADCAST_DELAY * 1000)); #endif printf ("starting dhcp client...\n"); @@ -303,7 +303,7 @@ static void dhcp_monitor_task (rtems_task_argument ifp_arg) must_renew = TRUE; #if NETWORK_DOWN_TIME dhcp_if_down(ifname); - rtems_task_wake_after(TOD_MILLISECONDS_TO_TICKS(NETWORK_DOWN_TIME * 1000)); + rtems_task_wake_after(RTEMS_MILLISECONDS_TO_TICKS(NETWORK_DOWN_TIME * 1000)); dhcp_if_up(ifname); downcount = 0; #endif @@ -311,7 +311,7 @@ static void dhcp_monitor_task (rtems_task_argument ifp_arg) } } - rtems_task_wake_after(TOD_MILLISECONDS_TO_TICKS(1000)); + rtems_task_wake_after(RTEMS_MILLISECONDS_TO_TICKS(1000)); } error_out: |