diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-08-07 15:17:01 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-08-13 12:14:58 +0200 |
commit | 47e640af2e492cc28778dd6f894d50313f7fba75 (patch) | |
tree | 5627461a4e746fd9c0c22f9636e819a494d32e74 /include/net/netfilter/nf_nat_helper.h | |
parent | netfilter: add missing IS_ENABLED(CONFIG_BRIDGE_NETFILTER) checks to header-file. (diff) | |
download | linux-dev-47e640af2e492cc28778dd6f894d50313f7fba75.tar.xz linux-dev-47e640af2e492cc28778dd6f894d50313f7fba75.zip |
netfilter: add missing IS_ENABLED(CONFIG_NF_TABLES) check to header-file.
nf_tables.h defines an API comprising several inline functions and
macros that depend on the nft member of struct net. However, this is
only defined is CONFIG_NF_TABLES is enabled. Added preprocessor checks
to ensure that nf_tables.h will compile if CONFIG_NF_TABLES is disabled.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netfilter/nf_nat_helper.h')
0 files changed, 0 insertions, 0 deletions