]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: libip*t_LOG: Merge extensions
authorPhil Sutter <phil@nwl.cc>
Sat, 22 Oct 2022 13:16:59 +0000 (15:16 +0200)
committerPhil Sutter <phil@nwl.cc>
Tue, 15 Nov 2022 15:58:16 +0000 (16:58 +0100)
commit87e4f1bf0b87b23f0fe29e5f9976d64843de8785
tree0f0ec5990e3c7b152f37e9302f1e33c346632f73
parentd9813e31f7e616b2e0dfea841aecfe40dd51a697
extensions: libip*t_LOG: Merge extensions

Data structures were identical already, make use of the names in
xt_LOG.h and merge all code into a single extension of family
NFPROTO_UNSPEC.

While being at it, define SYSLOG_NAMES and use the array in syslog.h
instead of dragging along an own level->name mapping two times.

Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libipt_LOG.c [deleted file]
extensions/libxt_LOG.c [moved from extensions/libip6t_LOG.c with 52% similarity]