aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/etherdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/etherdevice.h')
-rw-r--r--include/linux/etherdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h
index a1478258d002..8a2df4dfbc59 100644
--- a/include/linux/etherdevice.h
+++ b/include/linux/etherdevice.h
@@ -65,7 +65,7 @@ static inline int is_zero_ether_addr(const u8 *addr)
65 */ 65 */
66static inline int is_multicast_ether_addr(const u8 *addr) 66static inline int is_multicast_ether_addr(const u8 *addr)
67{ 67{
68 return addr[0] & 0x01; 68 return ((addr[0] != 0xff) && (0x01 & addr[0]));
69} 69}
70 70
71/** 71/**