aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ethernet/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index 8b299cc82060..68a5ca866442 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -191,7 +191,7 @@ __be16 eth_type_trans(struct sk_buff *skb, struct net_device *dev)
191 */ 191 */
192 192
193 else if(1 /*dev->flags&IFF_PROMISC*/) { 193 else if(1 /*dev->flags&IFF_PROMISC*/) {
194 if (unlikely(!compare_eth_addr(eth->h_dest, dev->dev_addr))) 194 if (unlikely(compare_eth_addr(eth->h_dest, dev->dev_addr)))
195 skb->pkt_type = PACKET_OTHERHOST; 195 skb->pkt_type = PACKET_OTHERHOST;
196 } 196 }
197 197