From 2d835173ea8a83aeb35eea33af4592c242995c28 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 3 Jan 2006 15:25:45 -0800 Subject: [PATCH] --- yaml --- r: 15586 b: refs/heads/master c: 88df8ef59a3eb54b1e2412765ff2736d2376d1ca h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/etherdevice.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 5351acfc48aa..f3808a43b574 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: cd8787ab04d23f925f440b712b43a6fd5cb31ece +refs/heads/master: 88df8ef59a3eb54b1e2412765ff2736d2376d1ca diff --git a/trunk/include/linux/etherdevice.h b/trunk/include/linux/etherdevice.h index 5f49a30eb6f2..745c988359c0 100644 --- a/trunk/include/linux/etherdevice.h +++ b/trunk/include/linux/etherdevice.h @@ -63,10 +63,11 @@ static inline int is_zero_ether_addr(const u8 *addr) * @addr: Pointer to a six-byte array containing the Ethernet address * * Return true if the address is a multicast address. + * By definition the broadcast address is also a multicast address. */ static inline int is_multicast_ether_addr(const u8 *addr) { - return ((addr[0] != 0xff) && (0x01 & addr[0])); + return (0x01 & addr[0]); } /**