Date: Thu, 25 May 1995 16:24:48 PDT From: Bill Fenner <fenner@parc.xerox.com> To: Mark Tinguely <tinguely@plains.nodak.edu> Cc: freebsd-questions@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: multicasts Message-ID: <95May25.162503pdt.49871@crevenia.parc.xerox.com> In-Reply-To: Your message of "Thu, 25 May 95 13:08:05 PDT." <199505252008.PAA28848@plains.nodak.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199505252008.PAA28848@plains.nodak.edu> you write:
> mail forwarded from freebsd-bugs:
Pardon me if I'm being obtuse, but...
> The following diff to /usr/src/sys/i386/isa/if_ep.c
>
> ***************
> *** 1336,1341 ****
> --- 1337,1363 ----
> ifp->if_mtu = ifr->ifr_mtu;
> }
> break;
> +
> + case SIOCADDMULTI:
> + case SIOCDELMULTI:
> + /*
> + * Update our multicast listeners
> + */
> + if (cmd == SIOCADDMULTI) {
> + ether_addmulti(ifr, &sc->arpcom);
> + } else {
> + ether_delmulti(ifr, &sc->arpcom);
> + }
Where, exactly, does "error" get set?
> + if (error == ENETRESET) {
> + /*
It doesn't seem like epreset() actually sets up multicast filters. Of course,
I don't know what FIL_GROUP means; maybe it's promiscuous multicast, in which
case there is really no need for the ether_*multi calls, just let the ioctl's
succeed.
Bill
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95May25.162503pdt.49871>
