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