]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_LOG: do print MAC header on FORWARD
authorJan Engelhardt <jengelh@medozas.de>
Mon, 15 Nov 2010 10:23:06 +0000 (11:23 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 15 Nov 2010 10:23:06 +0000 (11:23 +0100)
commit1adbeb4f93d3bbbcea8c15b544b9c57031ad1304
treeafcc943a1df1a12413d815a6e91e3084c0033f14
parent3ff38841e919ee661085dc9bc010f8322a9bccfc
netfilter: xt_LOG: do print MAC header on FORWARD

I am observing consistent behavior even with bridges, so let's unlock
this. xt_mac is already usable in FORWARD, too. Section 9 of
http://ebtables.sourceforge.net/br_fw_ia/br_fw_ia.html#section9 says
the MAC source address is changed, but my observation does not match
that claim -- the MAC header is retained.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
[Patrick; code inspection seems to confirm this]
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ipt_LOG.c
net/ipv6/netfilter/ip6t_LOG.c