Allow dumping either directed or undirected graphs.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 26 Sep 2012 21:52:36 +0000 (23:52 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 26 Sep 2012 21:52:36 +0000 (23:52 +0200)
commit1f312137d5ab12a2d996d5f7972f169aeb852040
tree99b1e43d1a59305d7e5da57f4bcfe5559bd8b2c4
parentd6388d782ede1bbe49a5c2643362e2e0f383fa89
Allow dumping either directed or undirected graphs.

Internally, tinc maintains a directed graph of the meta connections between
nodes. However, this causes graphviz to draw two lines between nodes, which is
not always desirable. The "dump graph" command now defaults to dumping an
undirected graph, the "dump digraph" command will dump a directed graph.
src/tincctl.c