mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Use ETHER_IS_MULTICAST() consistently in ether_resolvemulti().
Reviewed by: jmallett
This commit is contained in:
parent
9409835314
commit
086e98c437
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131856
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user