Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 1995 12:00:11 PDT
From:      Bill Fenner <fenner@parc.xerox.com>
To:        "Janusz Kokot" <JKOKOT@demeter.ipan.lublin.pl>
Cc:        ports@freebsd.org
Subject:   Re: Radio port 
Message-ID:  <95Jul7.120022pdt.49860@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Fri, 07 Jul 95 04:53:27 PDT." <2A28CAC2E48@demeter.ipan.lublin.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <2A28CAC2E48@demeter.ipan.lublin.pl> you write:
>> What's wrong with IN_MULTICAST?
>
>Byte order in IN_MULTICAST is reversed to order returned from 
>inet_addr().
>I dont know if it is a bug ???

No, the test should actually be

	if (!IN_MULTICAST(ntohl(grpaddr.s_addr)))

and then it will work on any system.

  Bill




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95Jul7.120022pdt.49860>