1
0
Fork 0

[NET]: Fix diverter build.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
hifive-unleashed-5.1
Evgeniy Polyakov 2006-01-11 16:12:41 -08:00 committed by David S. Miller
parent 8b3a70058b
commit c3f343e4d7
1 changed files with 1 additions and 1 deletions

View 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 */