Skip to content
Snippets Groups Projects
Commit 47fe9011 authored by Cenk Gündoğan's avatar Cenk Gündoğan
Browse files

ndp: timex -> uint32_t for probe delay time

parent 77b58144
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ ipv6_addr_t *gnrc_ndp_internal_default_router(void)
void gnrc_ndp_internal_set_state(gnrc_ipv6_nc_t *nc_entry, uint8_t state)
{
gnrc_ipv6_netif_t *ipv6_iface;
timex_t t = { GNRC_NDP_FIRST_PROBE_DELAY, 0 };
uint32_t t = GNRC_NDP_FIRST_PROBE_DELAY * SEC_IN_USEC;
nc_entry->flags &= ~GNRC_IPV6_NC_STATE_MASK;
nc_entry->flags |= state;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment