After some great input from Marek I took a swing at rewriting my vis patch to allow serving of mesh topology simultaneously in dot_draw & json.
* -j enables JSON server on port 2005
* dot_draw continues to be served on port 2004 irrespective of whether -j is specified or not.
* It is not the prettiest of patches but it works. Thinking about cleaner approaches makes my imagination drift in the direction of a simple plugin API such as OLSRd has, anyone else having any similar thoughts ? :)
* I'm serving json on port 2005 - any alternative suggestions ?
Patch attached for review, looking forward to feedback!
"Libré software for human education."