Let tincctl parse and format dumps.
At the moment it just reproduces the old format.
This commit is contained in:
parent
9ade39b7d5
commit
d6388d782e
7 changed files with 75 additions and 27 deletions
|
|
@ -117,7 +117,7 @@ bool dump_edges(connection_t *c) {
|
|||
for(node2 = n->edge_tree->head; node2; node2 = node2->next) {
|
||||
e = node2->data;
|
||||
address = sockaddr2hostname(&e->address);
|
||||
send_request(c, "%d %d %s to %s at %s options %x weight %d",
|
||||
send_request(c, "%d %d %s %s %s %x %d",
|
||||
CONTROL, REQ_DUMP_EDGES,
|
||||
e->from->name, e->to->name, address,
|
||||
e->options, e->weight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue