[NET]: Fix diverter build.
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Thu, 12 Jan 2006 00:12:41 +0000 (16:12 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 12 Jan 2006 00:32:15 +0000 (16:32 -0800)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dv.c

index c5deb365525782cdfe16ba5c9438e60cf03ff069..1516a90a138d76c0aa2e5502ebb4a8b6d8628f84 100644 (file)
@@ -457,7 +457,7 @@ void divert_frame(struct sk_buff *skb)
        unsigned char                   *skb_data_end = skb->data + skb->len;
 
        /* 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;
        
        /* proto is not IP, do nothing */