aboutsummaryrefslogtreecommitdiff
path: root/net/x25
diff options
context:
space:
mode:
authorPhil Oester <kernel@linuxace.com>2006-07-24 22:54:14 -0700
committerDavid S. Miller <davem@davemloft.net>2006-07-24 22:54:14 -0700
commit28658c8967da9083be83af0a37be3b190bae79da (patch)
tree179a24d1b0462284a090a6f38872ea3b4e727d36 /net/x25
parent8cf8fb5687bb37737ea419a0b2143aab49295779 (diff)
[NETFILTER]: xt_pkttype: fix mismatches on locally generated packets
Locally generated broadcast and multicast packets have pkttype set to PACKET_LOOPBACK instead of PACKET_BROADCAST or PACKET_MULTICAST. This causes the pkttype match to fail to match packets of either type. The below patch remedies this by using the daddr as a hint as to broadcast|multicast. While not pretty, this seems like the only way to solve the problem short of just noting this as a limitation of the match. This resolves netfilter bugzilla #484 Signed-off-by: Phil Oester <kernel@linuxace.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/x25')
0 files changed, 0 insertions, 0 deletions