diff options
Diffstat (limited to 'manualPorts/tinc/graph.patch')
-rw-r--r-- | manualPorts/tinc/graph.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/manualPorts/tinc/graph.patch b/manualPorts/tinc/graph.patch deleted file mode 100644 index 1e903a1..0000000 --- a/manualPorts/tinc/graph.patch +++ /dev/null @@ -1,19 +0,0 @@ -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) -+ fprintf(file, " \"%s\" -> \"%s\" [dir=both];\n", e->from->name, e->to->name); -+ } -+ else { -+ fprintf(file, " \"%s\" -> \"%s\";\n", e->from->name, e->to->name); -+ } - } - - fprintf(file, "}\n"); |