From 086e98c437c60ceaa09d3003d8fb135be113c762 Mon Sep 17 00:00:00 2001 From: Bruce M Simpson Date: Fri, 9 Jul 2004 05:26:27 +0000 Subject: [PATCH] Use ETHER_IS_MULTICAST() consistently in ether_resolvemulti(). Reviewed by: jmallett --- sys/net/if_ethersubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c index e99e86c149be..fb10e01bf45d 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;