aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_bridge.h
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 /include/linux/netfilter_bridge.h
parent[NETFILTER]: SNMP NAT: fix byteorder confusion (diff)
downloadlinux-dev-28658c8967da9083be83af0a37be3b190bae79da.tar.xz
linux-dev-28658c8967da9083be83af0a37be3b190bae79da.zip
[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 'include/linux/netfilter_bridge.h')
0 files changed, 0 insertions, 0 deletions