diff options
author | bms <bms@FreeBSD.org> | 2004-07-09 05:26:27 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-07-09 05:26:27 +0000 |
commit | 23d90b4453931cc96aee492e1ad6106ebae70408 (patch) | |
tree | 09a0752e0fa520b841157ca5b3f14b7c6497b042 /sys | |
parent | 3e5d71bd1a8c445e99b4335403253a679f3a2d07 (diff) | |
download | FreeBSD-src-23d90b4453931cc96aee492e1ad6106ebae70408.zip FreeBSD-src-23d90b4453931cc96aee492e1ad6106ebae70408.tar.gz |
Use ETHER_IS_MULTICAST() consistently in ether_resolvemulti().
Reviewed by: jmallett
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_ethersubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index e99e86c..fb10e01 100644 --- a/sys/net/if_ethersubr.c +++ b/sys/net/if_ethersubr.c @@ -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; |