]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_condition: use `xt_check_proc_name` to validate /proc file name
authorJeremy Sowden <jeremy@azazel.net>
Sun, 22 Aug 2021 16:35:51 +0000 (17:35 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 22 Aug 2021 19:39:36 +0000 (21:39 +0200)
commit068a6ed71ff9d1c5ea3e56d423e591cb08265de1
tree7a8a8adb67d58b38f166d076376d934336262c97
parentcc1ffb1c5b46e351616f3e6ce7ce85ab29eb4a9f
xt_condition: use `xt_check_proc_name` to validate /proc file name

4.16 introduced a standard function to do the job, so let's use it.

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