Since packets traverse both tables, the accept rule in the first one is
ineffective due to the second table's drop policy. To prevent lockouts
when running the testsuite via SSH connection, set the second chain's
policy to accept as well.
Fixes: 337c7e0de3d9d ("tests: shell: make sure split table definition works via nft -f")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
table inet filter {
chain input {
- type filter hook input priority 1; policy drop;
+ type filter hook input priority 1; policy accept;
}
}"
}
chain input {
- type filter hook input priority 1; policy drop;
+ type filter hook input priority 1; policy accept;
}
}"