Fix no inform after USP configures new ACS

This commit is contained in:
Suvendhu Hansa 2024-11-20 18:08:37 +05:30
parent b3ecc45d99
commit 868abeb86c

View file

@ -1359,7 +1359,8 @@ void stop_service(void)
blob_buf_init(&bb, 0); blob_buf_init(&bb, 0);
blobmsg_add_string(&bb, "name", "icwmpd"); blobmsg_add_string(&bb, "name", "icwmpd");
blobmsg_add_u8(&bb, "spawn", false);
icwmp_ubus_invoke("service", "delete", bb.head, NULL, NULL); icwmp_ubus_invoke("service", "state", bb.head, NULL, NULL);
blob_buf_free(&bb); blob_buf_free(&bb);
} }