Fix always false comparison in lib/route/route_obj.c:route_compare()

Thomas Graf tgraf at suug.ch
Wed Aug 29 06:01:01 EDT 2012


On Tue, Aug 28, 2012 at 08:28:28PM +0200, Michele Baldessari wrote:
> Hi Thomas,
> 
> I assume the below fix is correct. I just noticed that odd looking if
> statement while glancing over the code.
> 
> Cheers,
> Michele
> 
> 
> commit 97ba06af5c97412edd8794c4b36ee3204c288283
> Author: Michele Baldessari <michele at acksyn.org>
> Date:   Tue Aug 28 20:21:53 2012 +0200
> 
>     Fix the always false if (a->rt_nr_nh != a->rt_nr_nh) test and compare
>     properly the a and b structs
> 

Applied, thanks Michele.



More information about the libnl mailing list