Use ETHER_IS_MULTICAST() consistently in ether_resolvemulti().

Reviewed by:	jmallett
This commit is contained in:
bms 2004-07-09 05:26:27 +00:00
parent 6eb4fe608d
commit 1976a5648f

View File

@ -1081,7 +1081,7 @@ ether_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa,
*/
sdl = (struct sockaddr_dl *)sa;
e_addr = LLADDR(sdl);
if ((e_addr[0] & 1) != 1)
if (!ETHER_IS_MULTICAST(e_addr))
return EADDRNOTAVAIL;
*llsa = 0;
return 0;