mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 09:32:04 +00:00
ssh-proxy: add a missing dispatch table sentinel
Which was accidentally dropped ine6be5fb720. Follow-up fore6be5fb720.
This commit is contained in:
committed by
Lennart Poettering
parent
114ad136c0
commit
bad594f79a
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user