diff options
| author | Felix Fietkau | 2023-11-30 11:19:29 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2023-11-30 11:19:29 +0000 |
| commit | b613879cb049123dd9dc68d5e6aef60141ebe483 (patch) | |
| tree | a1e81706ffb8cf25bf338171ba9dac66c318afb2 | |
| parent | e02306af7c5063655757e67cb2feaf8ad05b4ed4 (diff) | |
client: send confirmation messages for ring add/remove
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | client.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |