Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78819
b: refs/heads/master
c: 13b0e83
h: refs/heads/master
i:
  78817: a9fdaea
  78815: 4fbbefb
v: v3
  • Loading branch information
Jan Engelhardt authored and David S. Miller committed Jan 28, 2008
1 parent 2cdb987 commit 9f1f5c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17b0d7ef658583842da75eebf8001dc617f0b52e
refs/heads/master: 13b0e83b5b52d1a0ab87772ecc93fe91b2740386
3 changes: 2 additions & 1 deletion trunk/net/netfilter/xt_pkttype.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ 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 = ipv4_is_multicast(ip_hdr(skb)->daddr)
type = match->family == AF_INET &&
ipv4_is_multicast(ip_hdr(skb)->daddr)
? PACKET_MULTICAST
: PACKET_BROADCAST;
else
Expand Down

0 comments on commit 9f1f5c7

Please sign in to comment.