projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let tincctl parse and format dumps.
[tinc]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
29ad04e
..
fafec5d
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-117,7
+117,7
@@
bool dump_connections(connection_t *cdump) {
for(node = connection_tree->head; node; node = node->next) {
c = node->data;
for(node = connection_tree->head; node; node = node->next) {
c = node->data;
- send_request(cdump, "%d %d %s
at %s options %x socket %d status %04
x",
+ 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));
CONTROL, REQ_DUMP_CONNECTIONS,
c->name, c->hostname, c->options, c->socket,
bitfield_to_int(&c->status, sizeof c->status));