From: Frantisek Sumsal Date: Sat, 25 Apr 2026 21:51:48 +0000 (+0200) Subject: ssh-proxy: add a missing dispatch table sentinel X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bad594f79a11b8896f1a830f86ae3beefac0d22f;p=thirdparty%2Fsystemd.git ssh-proxy: add a missing dispatch table sentinel Which was accidentally dropped in e6be5fb7200fb02e78e4f27f49a4d734b7b850a0. Follow-up for e6be5fb7200fb02e78e4f27f49a4d734b7b850a0. --- diff --git a/src/ssh-generator/ssh-proxy.c b/src/ssh-generator/ssh-proxy.c index 79d8ee05656..f2530365227 100644 --- a/src/ssh-generator/ssh-proxy.c +++ b/src/ssh-generator/ssh-proxy.c @@ -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);