Re: SIOCADDMULTI doesn't work, proposed fix

1999-02-01 Thread Garrett Wollman
On Mon, 1 Feb 1999 02:02:48 -0500 (EST), Bill Paul wp...@skynet.ctr.columbia.edu said: to compare 0 bytes worth of data and returns success). In my opinion, this is a bug: either the equal() macro should return false, or the zero length field should be detected by a sanity check and the

SIOCADDMULTI doesn't work, proposed fix

1999-01-31 Thread Bill Paul
After experimenting some more, I've come to the conclusion that trying to manually add a non-IP ethernet multicast address doesn't work properly. The ether_resolvemulti() assumes that addresses will be specified as either AF_LINK or AF_INET; if the family is AF_LINK, it assumes that a struct

SIOCADDMULTI doesn't work, proposed fix

1999-01-31 Thread Garrett Wollman
On Sun, 31 Jan 1999 17:55:22 -0500 (EST), Bill Paul wp...@skynet.ctr.columbia.edu said: a struct sockaddr_dl will be used. However, the user is supposed to pass the address using a struct ifreq, and struct ifreq uses struct sockaddr, not struct sockaddr_dl. This is called ``poor man's

Re: SIOCADDMULTI doesn't work, proposed fix

1999-01-31 Thread Bill Paul
Of all the gin joints in all the towns in all the world, Garrett Wollman had to walk into mine and say: On Sun, 31 Jan 1999 17:55:22 -0500 (EST), Bill Paul wp...@skynet.ctr.columbia.edu said: a struct sockaddr_dl will be used. However, the user is supposed to pass the address using a