netfilter: nf_log_syslog: Merge MAC header dumpers
authorPhil Sutter <phil@nwl.cc>
Thu, 24 Mar 2022 14:03:40 +0000 (15:03 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 Apr 2022 12:36:06 +0000 (14:36 +0200)
commit39ab798fc14dc8b8fdab4177c69ffc06e3d99698
treea1443df08f1d478d9740c47125bb0235538ffff2
parent523895e5b278b5d7f2e29323b877193fe2d1b9dc
netfilter: nf_log_syslog: Merge MAC header dumpers

The functions for IPv4 and IPv6 were almost identical apart from extra
SIT tunnel device handling in the latter.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_log_syslog.c