diff options
author | Kris Katterjohn <kjak@users.sourceforge.net> | 2006-01-06 22:05:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-06 22:05:58 +0100 |
commit | dbbc0988288d9643044e8bd8c7e7de70016ecd23 (patch) | |
tree | 6e3175bf90bb9702be4fe631b1db36f850cf4249 /net/ethernet | |
parent | Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block (diff) | |
download | linux-dbbc0988288d9643044e8bd8c7e7de70016ecd23.tar.xz linux-dbbc0988288d9643044e8bd8c7e7de70016ecd23.zip |
[NET]: Use newer is_multicast_ether_addr() in some files
This uses is_multicast_ether_addr() because it has recently been
changed to do the same thing these seperate tests are doing.
Signed-off-by: Kris Katterjohn <kjak@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
-rw-r--r-- | net/ethernet/eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index 9f4dbeb59315..9890fd97e538 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c @@ -163,7 +163,7 @@ __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev) skb_pull(skb,ETH_HLEN); eth = eth_hdr(skb); - if (*eth->h_dest&1) { + if (is_multicast_ether_addr(eth->h_dest)) { if (!compare_ether_addr(eth->h_dest, dev->broadcast)) skb->pkt_type = PACKET_BROADCAST; else |