]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_ipp2p: use textsearch API for substring searching
authorJeremy Sowden <jeremy@azazel.net>
Mon, 5 Jun 2023 15:10:42 +0000 (00:10 +0900)
committerJan Engelhardt <jengelh@inai.de>
Tue, 6 Jun 2023 12:22:33 +0000 (21:22 +0900)
commit30ba7eb43d67fa8ace569f1065f4901ea6cde122
treec18e7c3c16968806c55fca94192d673eee28654b
parentdc05fc620cdaecaceae3cc192a86c40d10c21eb5
xt_ipp2p: use textsearch API for substring searching

Some of the matchers have hand-rolled substring search implementations.
Replace them with the kernel's textsearch API.

Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
extensions/xt_ipp2p.c
extensions/xt_ipp2p.h