git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph
[safe/jmp/linux-2.6]
/
net
/
netfilter
/
xt_pkttype.c
diff --git
a/net/netfilter/xt_pkttype.c
b/net/netfilter/xt_pkttype.c
index
16e7b08
..
e1409fc
100644
(file)
--- a/
net/netfilter/xt_pkttype.c
+++ b/
net/netfilter/xt_pkttype.c
@@
-34,7
+34,7
@@
static int match(const struct sk_buff *skb,
const struct xt_pkttype_info *info = matchinfo;
if (skb->pkt_type == PACKET_LOOPBACK)
- type = (MULTICAST(
skb->nh.iph
->daddr)
+ type = (MULTICAST(
ip_hdr(skb)
->daddr)
? PACKET_MULTICAST
: PACKET_BROADCAST);
else