X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.c;h=0de510956df0d8260f4cc60cd1ef66dc3653965d;hb=b13e1a3c1f7252cda5ab95166d9f2d578983471f;hp=7d27e706c4c1af656b4d7d581e97d5c4e27f2cbb;hpb=bcac314fe2d758e85335d499dbb4300bfa8a599e;p=tinc diff --git a/src/connection.c b/src/connection.c index 7d27e706..0de51095 100644 --- a/src/connection.c +++ b/src/connection.c @@ -112,7 +112,7 @@ bool dump_connections(connection_t *cdump) { send_request(cdump, "%d %d %s %s %x %d %x", CONTROL, REQ_DUMP_CONNECTIONS, c->name, c->hostname, c->options, c->socket, - bitfield_to_int(&c->status, sizeof(c->status))); + c->status.value); } return send_request(cdump, "%d %d", CONTROL, REQ_DUMP_CONNECTIONS);