diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-27 19:49:42 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-11-01 20:50:30 +0100 |
commit | 1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c (patch) | |
tree | cbd3dd9abce08ccc0895235e52d3c0e9beb32797 /net/netfilter/Makefile | |
parent | f6d0cbcf09c506b9b022df8f9d7693a7cec3c732 (diff) | |
download | op-kernel-dev-1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c.zip op-kernel-dev-1fddf4bad0ac9f4d32c74af286fc1eec2a03c82c.tar.gz |
netfilter: nf_log: add packet logging for netdev family
Move layer 2 packet logging into nf_log_l2packet() that resides in
nf_log_common.c, so this can be shared by both bridge and netdev
families.
This patch adds the boiler plate code to register the netdev logging
family.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/Makefile')
-rw-r--r-- | net/netfilter/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/netfilter/Makefile b/net/netfilter/Makefile index 8faa36c..8edd791 100644 --- a/net/netfilter/Makefile +++ b/net/netfilter/Makefile @@ -48,6 +48,9 @@ nf_nat-y := nf_nat_core.o nf_nat_proto_unknown.o nf_nat_proto_common.o \ # generic transport layer logging obj-$(CONFIG_NF_LOG_COMMON) += nf_log_common.o +# packet logging for netdev family +obj-$(CONFIG_NF_LOG_NETDEV) += nf_log_netdev.o + obj-$(CONFIG_NF_NAT) += nf_nat.o obj-$(CONFIG_NF_NAT_REDIRECT) += nf_nat_redirect.o |