diff --git a/sys/net/transport_layer/destiny/destiny.c b/sys/net/transport_layer/destiny/destiny.c index cfd58a676b..3f434c8f29 100644 --- a/sys/net/transport_layer/destiny/destiny.c +++ b/sys/net/transport_layer/destiny/destiny.c @@ -55,7 +55,7 @@ int destiny_init_transport_layer(void) /* TCP */ timex_t now; vtimer_now(&now); - srand(now.microseconds); + srand(timex_uint64(now)); #ifdef TCP_HC printf("TCP_HC enabled!\n"); global_context_counter = rand();