OSDN Git Service

netfilter: nf_nat_masquerade: unify ipv4/6 notifier registration
authorFlorian Westphal <fw@strlen.de>
Tue, 9 Apr 2019 08:44:08 +0000 (10:44 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 11 Apr 2019 18:59:34 +0000 (20:59 +0200)
commit610a43149cabd0c7aa7bed19cbcf05a0249ab32a
treef2a62ab72875deafb91d2d49316b4d9a8789a329
parentadf82accc5f526f1e812f1a8df7292fef7dad19a
netfilter: nf_nat_masquerade: unify ipv4/6 notifier registration

Only reason for having two different register functions was because of
ipt_MASQUERADE and ip6t_MASQUERADE being two different modules.

Previous patch merged those into xt_MASQUERADE, so we can merge this too.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_nat_masquerade.h
net/netfilter/nf_nat_masquerade.c
net/netfilter/nft_masq.c
net/netfilter/xt_MASQUERADE.c