]> git.ipfire.org Git - thirdparty/xtables-addons.git/commit
xt_condition: use condition_net::proc_net_condition to signal condition_net_exit...
authorJeremy Sowden <jeremy@azazel.net>
Sun, 22 Aug 2021 16:35:54 +0000 (17:35 +0100)
committerJan Engelhardt <jengelh@inai.de>
Sun, 22 Aug 2021 19:39:36 +0000 (21:39 +0200)
commiteb14334e468cb38af00a39e57cdd48505f004387
treede1122705472008fbef8359709c31a9e2bf56332
parent76768e3f6dd035378b1dae9688b59fca506903b7
xt_condition: use condition_net::proc_net_condition to signal condition_net_exit being called

There's no need for a separate boolean flag when we can just set
`proc_net_condition` to `NULL` after the directory has been removed.

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