[haiku-commits] Re: r40499 - haiku/trunk/src/add-ons/kernel/network/protocols/ipv4

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 15 Feb 2011 08:59:27 +0100 (MET)

anevilyak@xxxxxxxxx wrote:
> Log:
> Slight simplification, no functional change.
[...]
> -             defaultBroadcast->sin_addr.s_addr = (address->sin_addr.s_addr & 
> net)
> -                     | ~net;
> +             defaultBroadcast->sin_addr.s_addr = address->sin_addr.s_addr | 
> ~net;

It certainly looks like a functional (and wrong) change to me, though; you no 
longer mask out "net".

Bye,
   Axel.


Other related posts: