NetBSD Problem Report #418
From gnats Tue Aug 16 16:29:55 1994
Received: from sidney.novatel.ca (sidney.novatel.ca [198.161.64.17]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id QAA01262 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 16 Aug 1994 16:29:46 -0700
Message-Id: <199408162330.RAA00541@sidney.novatel.ca>
Date: Tue, 16 Aug 1994 17:30:59 -0600
From: Herb Peyerl <Herb.Peyerl@sidney.novatel.ca>
Reply-To: hpeyerl@sidney.novatel.ca
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: if_ep.c doesn't have multicast support.
X-Send-Pr-Version: 3.2
>Number: 418
>Category: port-i386
>Synopsis: if_ep.c doesn't have multicast support.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: gnats-admin (GNATS administrator)
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 16 16:35:04 +0000 1994
>Closed-Date: Wed Aug 17 10:36:00 +0000 1994
>Last-Modified:
>Originator: Herb Peyerl
>Release: semi-current 1.0 beta.
>Organization:
hpeyerl@novatel.ca | NovAtel Communications Ltd.
hpeyerl@fsa.ca | <nothing I say matters anyway>
"A sucking chest wound is nature's way of telling you to slow down."
>Environment:
P60, 16mb, 2x3c509,semi-current
System: NetBSD sidney 1.0_BETA NetBSD 1.0_BETA (SIDNEY) #5: Tue Aug 16 16:13:59 MDT 1994 hpeyerl@sidney:/home/src/sys/arch/i386/compile/SIDNEY i386
>Description:
if_ep doessn't have multicast support in it.
>How-To-Repeat:
try running 'mrouted' on a machine with a 3c509 in it.
>Fix:
the following patch taken straight out of if_ed and changed
to fit:
# diff -bc if_ep.c.orig if_ep.c
*** if_ep.c.orig Tue Aug 16 17:24:17 1994
--- if_ep.c Tue Aug 16 14:08:29 1994
***************
*** 865,870 ****
--- 865,885 ----
sizeof(sc->sc_addr));
break;
#endif
+ case SIOCADDMULTI:
+ case SIOCDELMULTI:
+ /* Update our multicast list. */
+ error = (cmd == SIOCADDMULTI) ?
+ ether_addmulti(ifr, &sc->sc_arpcom) :
+ ether_delmulti(ifr, &sc->sc_arpcom);
+ if (error == ENETRESET) {
+ /*
+ * Multicast list has changed; set the hardware filter
+ * accordingly.
+ */
+ epreset(sc);
+ error = 0;
+ }
+ break;
default:
error = EINVAL;
}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Wed Aug 17 03:36:00 PDT 1994
State-Changed-Why:
Done.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.