summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2006-01-11 16:12:41 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-11 16:32:15 -0800
commitc3f343e4d7b99638b8a4f05c12b542d32405cfc4 (patch)
treeedfb917fb2f9692b53954f9b763234425f8f0985 /net
parent8b3a70058bfe711b2d05ba2134178bae623183ce (diff)
downloadlinux-c3f343e4d7b99638b8a4f05c12b542d32405cfc4.tar.gz
linux-c3f343e4d7b99638b8a4f05c12b542d32405cfc4.tar.bz2
linux-c3f343e4d7b99638b8a4f05c12b542d32405cfc4.zip
[NET]: Fix diverter build.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/dv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dv.c b/net/core/dv.c
index c5deb3655257..1516a90a138d 100644
--- a/net/core/dv.c
+++ b/net/core/dv.c
@@ -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 */