The vis server seems to work perfectly after applying your proposed patch. Thank you.
Regards
Edwe
On Wed, Jul 15, 2009 at 7:21 PM, Marek Lindnerlindner_marek@yahoo.de wrote:
On Wednesday 15 July 2009 21:59:32 Edwe Cowley wrote:
Revision 1271 introduced a bug on the call to hash->compare() that caused duplicate routes to appear in the output. Inverted the conditional and now it works.
Thanks for informing us about this bug and proposing a solution. This is a bit tricky since batman and the vis server share the same hash implementation code. If we apply your patch we will move the bugs to batman. As you correctly pointed out the bug was introduced with 1271 because the vis hash->compare() callback function was not adapted. Please consider my following patch and let me know if it works for you.
Regards, Marek
B.A.T.M.A.N mailing list B.A.T.M.A.N@lists.open-mesh.net https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n