summaryrefslogtreecommitdiffstats
path: root/extensions/libarpt_mangle.txlate
Commit message (Collapse)AuthorAgeFilesLines
* arptables-txlate: add test casesFlorian Westphal2023-11-071-0/+6
Add test cases for libarpt_mangle and extend the generic tests to cover basic arptables matches. Note that there are several historic artefacts that could be revised. For example, arptables-legacy and arptables-nft both ignore "-p" instead of returning an error about an unsupported option. The ptype could be hard-wired to 0x800 and set unconditionally. OTOH, this should always match for ethernet arp packets anyway. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Phil Sutter <phil@nwl.cc>