summaryrefslogtreecommitdiffstats
path: root/iptables/xtables.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-08-02 17:05:13 +0200
committerFlorian Westphal <fw@strlen.de>2018-08-04 14:15:17 +0200
commitf7bbdb0091f2c2baf43bb1c14715bc850181a021 (patch)
treea204e4dabe5b2fae2337980c91ffa0e32ba85608 /iptables/xtables.c
parentae574b2b882e84c1081706c8386e83e468e622f6 (diff)
xtables: Use correct built-in chain count
In nft_chain_builtin_init(), The wrong macro was used for iterating over the built-in chains of a given table. That array's length is defined using NF_INET_NUMHOOKS, not NF_IP_NUMHOOKS. Though this change is rather cosmetic since both macros resolve into the same value. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables.c')
0 files changed, 0 insertions, 0 deletions