Date: Sun, 22 Feb 1998 23:00:01 -0800 (PST) From: Bill Fenner <fenner@parc.xerox.com> To: freebsd-ports Subject: Re: ports/5811: netatalk SIOCADDMULTI failure Message-ID: <199802230700.XAA01156@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/5811; it has been noted by GNATS. From: Bill Fenner <fenner@parc.xerox.com> To: FreeBSD-gnats-submit@FreeBSD.ORG, lyndon@ve7tcp.ampr.org Cc: Subject: Re: ports/5811: netatalk SIOCADDMULTI failure Date: Sun, 22 Feb 1998 22:55:37 PST Do the following patches prevent the error? Bill --- main.c.orig Sun Feb 22 22:51:08 1998 +++ main.c Sun Feb 22 22:51:29 1998 @@ -1152,6 +1152,7 @@ /* configure multicast for this interface */ bzero( &sa, sizeof( struct sockaddr )); bcopy( ethermulti, sa.sa_data, sizeof( ethermulti )); + sa.sa_family = AF_LINK; if ( ifconfig( iface->i_name, SIOCADDMULTI, &sa )) { syslog( LOG_ERR, "addmulti: %m" ); exit( 1 ); --- nbp.c.orig Sun Feb 22 22:51:51 1998 +++ nbp.c Sun Feb 22 22:53:05 1998 @@ -177,6 +177,7 @@ sizeof( ethermulti )); bzero( &sa, sizeof( struct sockaddr )); bcopy( zt->zt_bcast, sa.sa_data, sizeof( ethermulti )); + sa.sa_family = AF_LINK; for ( iface = interfaces; iface; iface = iface->i_next ) { if (( iface->i_flags & IFACE_PHASE2 ) == 0 ) { To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802230700.XAA01156>