X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fedge.c;h=80bdddbd1beb055ddd13404e65038459199476b8;hb=c4afc481541bff4db7f57c81796b7a5f61cdb1b5;hp=4d674f38ababcd60f0efa732dbc4df17fd802148;hpb=37ccb325af5c7865eb16716780121a8a6dce8abd;p=tinc diff --git a/src/edge.c b/src/edge.c index 4d674f38..80bdddbd 100644 --- a/src/edge.c +++ b/src/edge.c @@ -117,7 +117,7 @@ int dump_edges(struct evbuffer *out) { e = node2->data; address = sockaddr2hostname(&e->address); if(evbuffer_add_printf(out, - " %s to %s at %s options %lx weight %d\n", + " %s to %s at %s options %x weight %d\n", e->from->name, e->to->name, address, e->options, e->weight) == -1) { free(address);