X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.c;h=c893f1e41c07c5027eda0b9c2cfca33932007fd0;hb=802a50ffcd5f39bfc6424ac841de4e41154092fc;hp=4a2af954c53e871bebae6dd33113017716809708;hpb=73d77dd416b87b7c4e9b6aa450f64846235cd2b4;p=tinc 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;