Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15586
b: refs/heads/master
c: 88df8ef
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Jan 3, 2006
1 parent e73a7cb commit 2d83517
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd8787ab04d23f925f440b712b43a6fd5cb31ece
refs/heads/master: 88df8ef59a3eb54b1e2412765ff2736d2376d1ca
3 changes: 2 additions & 1 deletion trunk/include/linux/etherdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}

/**
Expand Down

0 comments on commit 2d83517

Please sign in to comment.