netfilter: ip6t_LOG: fix a flaw in printing the MAC
authorJoerg Marx <joerg.marx@secunet.com>
Thu, 17 Feb 2011 15:23:40 +0000 (16:23 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 17 Feb 2011 15:23:40 +0000 (16:23 +0100)
commit0af320fb4627033e49cbc6e8138e7aa75ab8352a
tree724a020c8d6f96b37ee9674cd59b94c08f50a176
parentd503b30bd648b3cb4e5f50b65d27e389960cc6d9
netfilter: ip6t_LOG: fix a flaw in printing the MAC

The flaw was in skipping the second byte in MAC header due to increasing
the pointer AND indexed access starting at '1'.

Signed-off-by: Joerg Marx <joerg.marx@secunet.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/ip6t_LOG.c