[NET]: Fix diverter build.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Evgeniy Polyakov 2006-01-11 16:12:41 -08:00 committed by David S. Miller
parent 8b3a70058b
commit c3f343e4d7

View File

@ -457,7 +457,7 @@ void divert_frame(struct sk_buff *skb)
unsigned char *skb_data_end = skb->data + skb->len; unsigned char *skb_data_end = skb->data + skb->len;
/* Packet is already aimed at us, return */ /* Packet is already aimed at us, return */
if (!compare_ether_addr(eth, skb->dev->dev_addr)) if (!compare_ether_addr(eth->h_dest, skb->dev->dev_addr))
return; return;
/* proto is not IP, do nothing */ /* proto is not IP, do nothing */