Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c36b48b authored by Bob Hockney's avatar Bob Hockney Committed by Pablo Neira Ayuso
Browse files

netfilter: nfnetlink_log: fix mac address for 6in4 tunnels



For tunnelled ipv6in4 packets, the LOG target (xt_LOG.c) adjusts
the start of the mac field to start at the ethernet header instead
of the ipv4 header for the tunnel. This patch conforms what is
passed by the NFLOG target through nfnetlink to what the LOG target
does. Code borrowed from xt_LOG.c.

Signed-off-by: default avatarBob Hockney <bhockney@ix.netcom.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 97cf00e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment