Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 1998 01:32:15 -0800 (PST)
From:      asun@u.washington.edu
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/8661: sys/netatalk/at_control.c needs to correctly translate SIOCADDMULTI
Message-ID:  <199811120932.BAA17260@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         8661
>Category:       kern
>Synopsis:       sys/netatalk/at_control.c needs to correctly translate SIOCADDMULTI
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 12 01:40:00 PST 1998
>Last-Modified:
>Originator:     Adrian Sun
>Organization:
University of Washington
>Release:        3.0
>Environment:
>Description:
given 
struct ifreq ifr;
struct sockaddr_at *sa;  /* with sa->sa_data holding a multicast address */

strcpy(ifr.ifr_name, iface);
ifr.ifr_addr = *(struct sockaddr *)sa;
ioctl(fd, SIOCADDMULTI, &ifr) fails to set the multicast address as in FreeBSD 2.2.x

>How-To-Repeat:

>Fix:
sys/netatalk/at_control.c should have a SIOCADDMULTI entry which sets up the appropriate data-link layer multicast stuff, copies the multicast address into it, and passes it on appropriately.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811120932.BAA17260>