ssh-proxy: add a missing dispatch table sentinel

Which was accidentally dropped in e6be5fb720.

Follow-up for e6be5fb720.
This commit is contained in:
Frantisek Sumsal
2026-04-25 23:51:48 +02:00
committed by Lennart Poettering
parent 114ad136c0
commit bad594f79a

View File

@@ -337,6 +337,7 @@ static int process_machine(const char *machine, const char *port) {
{ "vSockCid", SD_JSON_VARIANT_UNSIGNED, sd_json_dispatch_uint32, voffsetof(p, cid), 0 },
{ "class", SD_JSON_VARIANT_STRING, sd_json_dispatch_const_string, voffsetof(p, class), SD_JSON_MANDATORY },
{ "service", SD_JSON_VARIANT_STRING, sd_json_dispatch_const_string, voffsetof(p, service), 0 },
{}
};
r = sd_json_dispatch(result, dispatch_table, SD_JSON_ALLOW_EXTENSIONS, &p);