Displaying 3 results from an estimated 3 matches for "dump_graph".
2018 Nov 28
1
Fix issue with graphviz file format
Hello,
Here's a quick patch to secure node names in generated graphviz
network maps.
Thanks for tinc!
2019 Sep 28
0
[PATCH] src/graph.c: print bidirectional edges with a single two-headed arrow
...Eckner <git at eckner.net>
Signed-off-by: Erich Eckner <git at eckner.net>
---
src/graph.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/graph.c b/src/graph.c
index c63fdf9c..91f5c990 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -366,7 +366,13 @@ void dump_graph(void) {
/* now dump all edges */
for(node = edge_weight_tree->head; node; node = node->next) {
e = node->data;
- fprintf(file, " \"%s\" -> \"%s\";\n", e->from->name, e->to->name);
+ if (e->reverse) {
+ if (e->reverse > e)
+...
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a
spam filter; I'll link to patches instead of attaching them.)
Here are the tincctl patches I've been working on. They apply to
http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit
them once the crypto stuff's fixed. Since they're basically done, I'm
emailing them now for review and in case