[haiku-development] Re: BNetworkInterface questions

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 10 Feb 2011 07:11:59 -0600

On Thu, 2011-02-10 at 09:45 +0100, Axel Dörfler wrote:
> Alexander von Gluck<kallisti5@xxxxxxxxxxx> wrote:
> > On Wed, 2011-02-09 at 19:41 +0100, Axel Dörfler wrote:
> > > >   inet addr: 10.21.16.87, Bcast: 10.255.255.255, Mask: 255.255.254.0
> > > Since 10.* is a class A network, that looks correct to me.
> > weel.. there's the problem :)
> > 
> > As the netmask is 255.255.254.0, and the IP is 10.21.16.87, the
> > broadcast should be at the top of the 10.21.16 subnet range
> > (10.21.17.255)
> 
> You're right, I missed that the network mask has been set manually.

Thanks for looking into this.  I know you've put *a lot* of hard work
into the network stack over the last year and it's appreciated.

afaik, oldNetmask really isn't used... and given the logic of the if
statements, it could *never* be used ( if (Y) {   if (!Y) { } }  kind of
thing )

-- Alex


Other related posts: