diff options
Diffstat (limited to 'src/ubus.c')
-rw-r--r-- | src/ubus.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -225,7 +225,9 @@ static void update_netifd(bool subscribe) ubus_subscribe(ubus, &netifd, objid); ubus_abort_request(ubus, &req_dump); - if (!ubus_invoke_async(ubus, objid, "dump", NULL, &req_dump)) { + blob_buf_init(&b, 0); + + if (!ubus_invoke_async(ubus, objid, "dump", b.head, &req_dump)) { req_dump.data_cb = handle_dump; ubus_complete_request_async(ubus, &req_dump); } |