X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fconnection.c;h=2372890dd393d6e9ff122a708f6ee2510c157d2a;hb=c4afc481541bff4db7f57c81796b7a5f61cdb1b5;hp=ce4c7536e3c2e76c545052d8d1fd22720081769f;hpb=7ea85043ac1fb2096baea44f6b0af27ac0d0b2cf;p=tinc diff --git a/src/connection.c b/src/connection.c index ce4c7536..2372890d 100644 --- a/src/connection.c +++ b/src/connection.c @@ -98,7 +98,7 @@ int dump_connections(struct evbuffer *out) { for(node = connection_tree->head; node; node = node->next) { c = node->data; if(evbuffer_add_printf(out, - " %s at %s options %lx socket %d status %04x\n", + " %s at %s options %x socket %d status %04x\n", c->name, c->hostname, c->options, c->socket, bitfield_to_int(&c->status, sizeof c->status)) == -1) return errno;