From b613879cb049123dd9dc68d5e6aef60141ebe483 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 30 Nov 2023 12:19:29 +0100 Subject: [PATCH] client: send confirmation messages for ring add/remove Signed-off-by: Felix Fietkau --- client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.c b/client.c index 93f3195..e758832 100644 --- a/client.c +++ b/client.c @@ -170,6 +170,7 @@ static void client_parse_message(struct client *cl) switch (msg->type) { case CL_MSG_RING_ADD: client_ring_alloc(cl); + client_send_msg(cl, msg, -1); break; case CL_MSG_RING_REMOVE: DC(2, cl, "delete ring %x", msg->id); @@ -178,6 +179,7 @@ static void client_parse_message(struct client *cl) client_ring_free(r); else DC(2, cl, "ring not found"); + client_send_msg(cl, msg, -1); break; case CL_MSG_RING_NOTIFY: DC(3, cl, "notify on ring %d", msg->id); -- 2.30.2