HomeFreeBSD

Fix swap tables between sets when this functional is enabled.

Description

Fix swap tables between sets when this functional is enabled.

We have 6 opcode rewriters for table opcodes. When `set swap' command
invoked, it is called for each rewriter, so at the end we get the same
result, because opcode rewriter uses ETLV type to match opcode. And all
tables opcodes have the same ETLV type. To solve this problem, use
separate sets handler for one opcode rewriter. Use it to handle TEST_ALL,
SWAP_ALL and MOVE_ALL commands.

PR: 212630
MFC after: 1 week

Details

Provenance
aeAuthored on
Parents
rS305777: MFS11: 305776
Branches
Unknown
Tags
Unknown