projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97c1e0
)
[IPV4] net/netfilter: Use ipv4_is_<type>
author
Joe Perches
<joe@perches.com>
Sun, 16 Dec 2007 21:46:15 +0000
(13:46 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:58:16 +0000
(14:58 -0800)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_pkttype.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netfilter/xt_pkttype.c
b/net/netfilter/xt_pkttype.c
index c598bbed8e09f7a49d08018591409dc86f29ec70..276244902ab5536adb826cb60c3b0bc65cabf33f 100644
(file)
--- a/
net/netfilter/xt_pkttype.c
+++ b/
net/netfilter/xt_pkttype.c
@@
-31,7
+31,7
@@
pkttype_mt(const struct sk_buff *skb, const struct net_device *in,
const struct xt_pkttype_info *info = matchinfo;
if (skb->pkt_type == PACKET_LOOPBACK)
- type =
MULTICAST
(ip_hdr(skb)->daddr)
+ type =
ipv4_is_multicast
(ip_hdr(skb)->daddr)
? PACKET_MULTICAST
: PACKET_BROADCAST;
else