Date: Sun, 13 Oct 2002 13:23:15 -0700 (PDT) From: Archie Cobbs <archie@dellroad.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: net@FreeBSD.ORG Subject: Re: Comments Please Message-ID: <200210132023.g9DKNF4C074920@arch20m.dellroad.org> In-Reply-To: <20021012.171809.93306957.imp@bsdimp.com> "from M. Warner Losh at Oct 12, 2002 05:18:09 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh writes: > > static int ether_resolvemulti(struct ifnet *, struct sockaddr **, > struct sockaddr *); > -u_char etherbroadcastaddr[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; > +u_char etherbroadcastaddr[ETHER_ADDR_LEN] = > + { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; 'etherbroadcastaddr' should really have type 'const u_char []' rather than 'u_char []'. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210132023.g9DKNF4C074920>