X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.c;h=c893f1e41c07c5027eda0b9c2cfca33932007fd0;hp=4a2af954c53e871bebae6dd33113017716809708;hb=f80bf14f28925df6eaa56f3ed77adaf418ab9890;hpb=73d77dd416b87b7c4e9b6aa450f64846235cd2b4 diff --git a/src/net.c b/src/net.c index 4a2af954..c893f1e4 100644 --- a/src/net.c +++ b/src/net.c @@ -251,7 +251,7 @@ static void check_dead_connections(void) } else { if(c->status.remove) { logger(LOG_WARNING, _("Old connection_t for %s (%s) status %04x still lingering, deleting..."), - c->name, c->hostname, c->status.value); + c->name, c->hostname, bitfield_to_int(&c->status, sizeof c->status)); connection_del(c); continue; } @@ -366,7 +366,6 @@ int main_loop(void) last_graph_dump = now; srand(now); - srand48(now); running = true;