From owner-freebsd-bugs Fri Jun 2 12:50:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA03475 for bugs-outgoing; Fri, 2 Jun 1995 12:50:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA03466 ; Fri, 2 Jun 1995 12:50:01 -0700 Date: Fri, 2 Jun 1995 12:50:01 -0700 Message-Id: <199506021950.MAA03466@freefall.cdrom.com> From: mpp@legarto.minn.net Reply-To: mpp@legarto.minn.net To: freebsd-bugs Subject: kern/478: Multicast not supported on PPP interfaces In-Reply-To: Your message of Fri, 2 Jun 1995 14:44:13 -0500 <199506021944.OAA00418@mpp.com> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 478 >Category: kern >Synopsis: Multicast not supported on PPP interfaces >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 2 12:50:00 1995 >Originator: Mike Pritchard >Organization: >Release: FreeBSD BUILT-19950525 i386 >Environment: FreeBSD-current >Description: Multicast is not supported on PPP interfaces. It looks like someone goofed when they checked in revision 1.4 of sys/net/if_ppp.c, since it deleted the changes made in revision 1.3 to add the multicast stuff. >How-To-Repeat: Run "ifconfig ppp0" and note that MULTICAST doesn't appear as one of the flags. >Fix: Here is a patch that re-adds the multicast stuff that was previosly in revision 1.3 of if_ppp.c. I think this is all that is needed, but someone who knows more about this stuff should double check and make sure. *** orig/if_ppp.c Fri Jun 2 12:52:30 1995 --- if_ppp.c Fri Jun 2 14:09:12 1995 *************** *** 200,206 **** sc->sc_if.if_name = "ppp"; sc->sc_if.if_unit = i++; sc->sc_if.if_mtu = PPP_MTU; ! sc->sc_if.if_flags = IFF_POINTOPOINT; sc->sc_if.if_type = IFT_PPP; sc->sc_if.if_hdrlen = PPP_HDRLEN; sc->sc_if.if_ioctl = pppioctl; --- 200,206 ---- sc->sc_if.if_name = "ppp"; sc->sc_if.if_unit = i++; sc->sc_if.if_mtu = PPP_MTU; ! sc->sc_if.if_flags = IFF_POINTOPOINT | IFF_MULTICAST; sc->sc_if.if_type = IFT_PPP; sc->sc_if.if_hdrlen = PPP_HDRLEN; sc->sc_if.if_ioctl = pppioctl; *************** *** 1525,1530 **** --- 1525,1542 ---- case SIOCGIFMTU: ifr->ifr_mtu = sc->sc_if.if_mtu; + break; + case SIOCADDMULTI: + case SIOCDELMULTI: + switch(ifr->ifr_addr.sa_family) { + #ifdef INET + case AF_INET: + break; + #endif + default: + error = EAFNOSUPPORT; + break; + } break; default: >Audit-Trail: >Unformatted: