Skip to content

Commit

Permalink
[NET]: Fix diverter build.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Evgeniy Polyakov authored and David S. Miller committed Jan 12, 2006
1 parent 8b3a700 commit c3f343e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/dv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit c3f343e

Please sign in to comment.