summaryrefslogtreecommitdiffstats
path: root/iptables/xtables-restore.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-07 17:06:21 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-10 15:26:02 +0200
commitc9f4f04bafe36927d2bca7ecf717723e0d7410d7 (patch)
tree9c0c77b0daacf47ff8234ba22d678eff0fdeb562 /iptables/xtables-restore.c
parent15606f264c84f9cc01d2f60adb6eda6584ef2594 (diff)
xtables: Don't check all rules for being compatible
Commit f8e29a13fed8d ("xtables: avoid bogus 'is incompatible' warning") fixed for compatibility checking to extend over all chains, not just the relevant ones. This patch does the same for rules: Make sure only rules belonging to the relevant table are being considered. Note that comparing the rule's table name is sufficient here since the table family is already considered when populating the rule cache. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/xtables-restore.c')
0 files changed, 0 insertions, 0 deletions