From b688b25c3741aa758d156ea70b1a162b5fcf9f72 Mon Sep 17 00:00:00 2001 From: Alexey Ozeritskiy Date: Mon, 3 Oct 2022 11:41:06 +0000 Subject: [PATCH] Fix removing group config --- src/mcgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcgroup.c b/src/mcgroup.c index 08e6df24..b92f2d13 100644 --- a/src/mcgroup.c +++ b/src/mcgroup.c @@ -372,7 +372,7 @@ int mcgroup_action(int cmd, const char *ifname, inet_addr_t *source, int src_len } if (!cmd) { - TAILQ_REMOVE(&kern_list, mcg, link); + TAILQ_REMOVE(&conf_list, mcg, link); free_mc_sock(mcg->sd); free(mcg); }