[systemd-devel] [PATCH] fix in_addr_prefix_intersect for 32bits

2014-06-22 Thread Marc-Antoine Perennou
shifting from a non fixed number of bits = to the size of the type leads to weird results, handle the special case of 32 to fix it. This was causing a test failure from test-socket-util: Assertion 'in_addr_prefix_intersect(f, ua, apl, ub, bpl) == result' failed at

Re: [systemd-devel] [PATCH] fix in_addr_prefix_intersect for 32bits

2014-06-22 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Jun 22, 2014 at 07:36:03PM +0900, Marc-Antoine Perennou wrote: shifting from a non fixed number of bits = to the size of the type leads to weird results, handle the special case of 32 to fix it. Applied. Zbyszek ___ systemd-devel mailing list